code: def test_boa_params():
      params = {"c": 0.01, "a": 0.1, "p": 0.8}
  
      new_boa = boa.BOA(params=params)
  
      assert new_boa.c == 0.01
  
      assert new_boa.a == 0.1
  
      assert new_boa.p == 0.8
  
file_path: opytimizer/tests/opytimizer/optimizers/swarm/test_boa.py
imports: import numpy
  from opytimizer.optimizers.swarm import boa
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_boa_params() without return types