code: def test_wca_params():
      params = {"nsr": 5, "d_max": 0.25}
  
      new_wca = wca.WCA(params=params)
  
      assert new_wca.nsr == 5
  
      assert new_wca.d_max == 0.25
  
file_path: opytimizer/tests/opytimizer/optimizers/science/test_wca.py
imports: import numpy
  from opytimizer.optimizers.science import wca
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_wca_params() without return types