code: def test_ihs_params_setter():
      new_ihs = hs.IHS()
  
      try:
          new_ihs.PAR_min = "a"
      except:
          new_ihs.PAR_min = 0.5
  
      try:
          new_ihs.PAR_min = -1
      except:
          new_ihs.PAR_min = 0.5
  
      assert new_ihs.PAR_min == 0.5
  
      try:
          new_ihs.PAR_max = "b"
      except:
          new_ihs.PAR_max = 1.0
  
      try:
          new_ihs.PAR_max = -1
      except:
          new_ihs.PAR_max = 1.0
  
      try:
          new_ihs.PAR_max = 0
      except:
          new_ihs.PAR_max = 1.0
  
      assert new_ihs.PAR_max == 1.0
  
      try:
          new_ihs.bw_min = "c"
      except:
          new_ihs.bw_min = 1.0
  
      try:
          new_ihs.bw_min = -1
      except:
          new_ihs.bw_min = 1.0
  
      assert new_ihs.bw_min == 1.0
  
      try:
          new_ihs.bw_max = "d"
      except:
          new_ihs.bw_max = 10.0
  
      try:
          new_ihs.bw_max = -1
      except:
          new_ihs.bw_max = 10.0
  
      try:
          new_ihs.bw_max = 0
      except:
          new_ihs.bw_max = 10.0
  
      assert new_ihs.bw_max == 10.0
  
imports: import numpy
  from opytimizer.core import function
  from opytimizer.optimizers.evolutionary import hs
  from opytimizer.spaces import search
  from opytimizer.utils import constant
label_desc: Use image node_id 6 for calling a global function with example usage: test_ihs_params_setter() without return types