code: def test_nghs_params_setter():
      new_nghs = hs.NGHS()
  
      try:
          new_nghs.pm = "a"
      except:
          new_nghs.pm = 0.1
  
      assert new_nghs.pm == 0.1
  
      try:
          new_nghs.pm = -1
      except:
          new_nghs.pm = 0.1
  
      assert new_nghs.pm == 0.1
  
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 15 for calling a global function with example usage: test_nghs_params_setter() without return types