code: def test_cs_params():
      params = {"alpha": 1.0, "beta": 1.5, "p": 0.2}
  
      new_cs = cs.CS(params=params)
  
      assert new_cs.alpha == 1.0
  
      assert new_cs.beta == 1.5
  
      assert new_cs.p == 0.2
  
file_path: opytimizer/tests/opytimizer/optimizers/swarm/test_cs.py
imports: import numpy
  from opytimizer.optimizers.swarm import cs
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_cs_params() without return types