code: def test_eo_params():
      params = {"a1": 2.0, "a2": 1.0, "GP": 0.5, "V": 1.0}
  
      new_eo = eo.EO(params=params)
  
      assert new_eo.a1 == 2.0
  
      assert new_eo.a2 == 1.0
  
      assert new_eo.GP == 0.5
  
      assert new_eo.V == 1.0
  
file_path: opytimizer/tests/opytimizer/optimizers/science/test_eo.py
imports: import numpy
  from opytimizer.optimizers.science import eo
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_eo_params() without return types