code: def test_js_params():
      params = {"eta": 4.0, "beta": 3.0, "gamma": 0.1}
  
      new_js = js.JS(params=params)
  
      assert new_js.eta == 4.0
  
      assert new_js.beta == 3.0
  
      assert new_js.gamma == 0.1
  
file_path: opytimizer/tests/opytimizer/optimizers/swarm/test_js.py
imports: import numpy
  from opytimizer.optimizers.swarm import js
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_js_params() without return types