code: def test_iwo_params_setter():
      new_iwo = iwo.IWO()
  
      try:
          new_iwo.min_seeds = "a"
      except:
          new_iwo.min_seeds = 0
  
      try:
          new_iwo.min_seeds = -1
      except:
          new_iwo.min_seeds = 0
  
      assert new_iwo.min_seeds == 0
  
      try:
          new_iwo.max_seeds = "b"
      except:
          new_iwo.max_seeds = 2
  
      try:
          new_iwo.max_seeds = -1
      except:
          new_iwo.max_seeds = 2
  
      assert new_iwo.max_seeds == 2
  
      try:
          new_iwo.e = "c"
      except:
          new_iwo.e = 1.5
  
      try:
          new_iwo.e = -1
      except:
          new_iwo.e = 1.5
  
      assert new_iwo.e == 1.5
  
      try:
          new_iwo.final_sigma = "d"
      except:
          new_iwo.final_sigma = 1.5
  
      try:
          new_iwo.final_sigma = -1
      except:
          new_iwo.final_sigma = 1.5
  
      assert new_iwo.final_sigma == 1.5
  
      try:
          new_iwo.init_sigma = "e"
      except:
          new_iwo.init_sigma = 2.0
  
      try:
          new_iwo.init_sigma = -1
      except:
          new_iwo.init_sigma = 2.0
  
      try:
          new_iwo.init_sigma = 1.3
      except:
          new_iwo.init_sigma = 2.0
  
      assert new_iwo.init_sigma == 2.0
  
      try:
          new_iwo.sigma = "f"
      except:
          new_iwo.sigma = 1
  
      assert new_iwo.sigma == 1
  
file_path: opytimizer/tests/opytimizer/optimizers/evolutionary/test_iwo.py
imports: import numpy
  from opytimizer.optimizers.evolutionary import iwo
  from opytimizer.spaces import search
label_desc: Use image node_id 2 for calling a global function with example usage: test_iwo_params_setter() without return types