code: def test_moa_params():
      params = {
          "alpha": 1.0,
          "rho": 2.0,
      }
  
      new_moa = moa.MOA(params=params)
  
      assert new_moa.alpha == 1.0
  
      assert new_moa.rho == 2.0
  
imports: from opytimizer.optimizers.science import moa
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_moa_params() without return types