code: def test_cem_params():
      params = {
          "n_updates": 5,
          "alpha": 0.7,
      }
  
      new_cem = cem.CEM(params=params)
  
      assert new_cem.n_updates == 5
  
      assert new_cem.alpha == 0.7
  
file_path: opytimizer/tests/opytimizer/optimizers/misc/test_cem.py
imports: import numpy
  from opytimizer.core import function
  from opytimizer.optimizers.misc import cem
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_cem_params() without return types