code: def test_mrfo_params_setter():
      new_mrfo = mrfo.MRFO()
  
      try:
          new_mrfo.S = "a"
      except:
          new_mrfo.S = 2.0
  
      try:
          new_mrfo.S = -1
      except:
          new_mrfo.S = 2.0
  
      assert new_mrfo.S == 2.0
  
file_path: opytimizer/tests/opytimizer/optimizers/swarm/test_mrfo.py
imports: import numpy
  from opytimizer.optimizers.swarm import mrfo
  from opytimizer.spaces import search
label_desc: Use image node_id 2 for calling a global function with example usage: test_mrfo_params_setter() without return types