code: def test_bpso_params():
      params = {
          "c1": r.generate_binary_random_number(size=(1, 1)),
          "c2": r.generate_binary_random_number(size=(1, 1)),
      }
  
      new_bpso = bpso.BPSO(params=params)
  
      assert new_bpso.c1 == 0 or new_bpso.c1 == 1
  
      assert new_bpso.c2 == 0 or new_bpso.c2 == 1
  
file_path: opytimizer/tests/opytimizer/optimizers/boolean/test_bpso.py
imports: import sys
  import numpy
  import opytimizer.math.random
  from opytimizer.core import function
  from opytimizer.optimizers.boolean import bpso
  from opytimizer.spaces import boolean
label_desc: Use image node_id 1 for calling a global function with example usage: test_bpso_params() without return types