code: def test_sghs_params_setter():
      new_sghs = hs.SGHS()
  
      try:
          new_sghs.HMCR = "a"
      except:
          new_sghs.HMCR = 0.5
  
      assert new_sghs.HMCR == 0.5
  
      try:
          new_sghs.PAR = "b"
      except:
          new_sghs.PAR = 0.5
  
      assert new_sghs.PAR == 0.5
  
      try:
          new_sghs.LP = 0.0
      except:
          new_sghs.LP = 100
  
      try:
          new_sghs.LP = 0
      except:
          new_sghs.LP = 100
  
      assert new_sghs.LP == 100
  
      try:
          new_sghs.HMCRm = "a"
      except:
          new_sghs.HMCRm = 0.98
  
      try:
          new_sghs.HMCRm = -1
      except:
          new_sghs.HMCRm = 0.98
  
      assert new_sghs.HMCRm == 0.98
  
      try:
          new_sghs.PARm = "b"
      except:
          new_sghs.PARm = 0.9
  
      try:
          new_sghs.PARm = -1
      except:
          new_sghs.PARm = 0.9
  
      assert new_sghs.PARm == 0.9
  
      try:
          new_sghs.bw_min = "c"
      except:
          new_sghs.bw_min = 1.0
  
      try:
          new_sghs.bw_min = -1
      except:
          new_sghs.bw_min = 1.0
  
      assert new_sghs.bw_min == 1.0
  
      try:
          new_sghs.bw_max = "d"
      except:
          new_sghs.bw_max = 10.0
  
      try:
          new_sghs.bw_max = -1
      except:
          new_sghs.bw_max = 10.0
  
      try:
          new_sghs.bw_max = 0
      except:
          new_sghs.bw_max = 10.0
  
      assert new_sghs.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 10 for calling a global function with example usage: test_sghs_params_setter() without return types