code: def test_doa_params():
      params = {"r": 1.0}
  
      new_doa = doa.DOA(params=params)
  
      assert new_doa.r == 1.0
  
file_path: opytimizer/tests/opytimizer/optimizers/misc/test_doa.py
imports: import numpy
  from opytimizer.optimizers.misc import doa
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_doa_params() without return types