code: def test_coa_params():
      params = {"n_p": 2}
  
      new_coa = coa.COA(params=params)
  
      assert new_coa.n_p == 2
  
file_path: opytimizer/tests/opytimizer/optimizers/population/test_coa.py
imports: import numpy
  from opytimizer.optimizers.population import coa
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_coa_params() without return types