code: def test_bso_params():
      params = {
          "m": 5,
          "p_replacement_cluster": 0.2,
          "p_single_cluster": 0.8,
          "p_single_best": 0.4,
          "p_double_best": 0.5,
          "k": 20,
      }
  
      new_bso = bso.BSO(params=params)
  
      assert new_bso.m == 5
  
      assert new_bso.p_replacement_cluster == 0.2
  
      assert new_bso.p_single_cluster == 0.8
  
      assert new_bso.p_single_best == 0.4
  
      assert new_bso.p_double_best == 0.5
  
      assert new_bso.k == 20
  
file_path: opytimizer/tests/opytimizer/optimizers/social/test_bso.py
imports: import numpy
  from opytimizer.optimizers.social import bso
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_bso_params() without return types