code: def test_weo_params():
      params = {
          "E_min": -3.5,
          "E_max": -0.5,
          "theta_min": -np.pi / 3.6,
          "theta_max": -np.pi / 9,
      }
  
      new_weo = weo.WEO(params=params)
  
      assert new_weo.E_min == -3.5
  
      assert new_weo.E_max == -0.5
  
      assert new_weo.theta_min == -np.pi / 3.6
  
      assert new_weo.theta_max == -np.pi / 9
  
imports: import numpy
  from opytimizer.optimizers.science import weo
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_weo_params() without return types