code: def test_bmrfo_cyclone_foraging():
      new_bmrfo = bmrfo.BMRFO()
  
      boolean_space = boolean.BooleanSpace(n_agents=100, n_variables=2)
  
      cyclone = new_bmrfo._cyclone_foraging(
          boolean_space.agents,
          boolean_space.best_agent.position,
          0,
          1,
          100,
      )
  
      assert cyclone[0].item() is False or cyclone[0].item() is True
  
      cyclone = new_bmrfo._cyclone_foraging(
          boolean_space.agents,
          boolean_space.best_agent.position,
          1,
          1,
          100,
      )
  
      assert cyclone[0].item() is False or cyclone[0].item() is True
  
      cyclone = new_bmrfo._cyclone_foraging(
          boolean_space.agents,
          boolean_space.best_agent.position,
          0,
          1,
          1,
      )
  
      assert cyclone[0].item() is False or cyclone[0].item() is True
  
      cyclone = new_bmrfo._cyclone_foraging(
          boolean_space.agents,
          boolean_space.best_agent.position,
          1,
          1,
          1,
      )
  
      assert cyclone[0].item() is False or cyclone[0].item() is True
  
file_path: opytimizer/tests/opytimizer/optimizers/boolean/test_bmrfo.py
imports: import numpy
  from opytimark.markers.boolean import Knapsack
  import opytimizer.math.random
  from opytimizer.core import function
  from opytimizer.optimizers.boolean import bmrfo
  from opytimizer.spaces import boolean
label_desc: Use image node_id 3 for calling a global function with example usage: test_bmrfo_cyclone_foraging() without return types