code: def test_wwo_params_setter():
      new_wwo = wwo.WWO()
  
      try:
          new_wwo.h_max = "a"
      except:
          new_wwo.h_max = 5
  
      try:
          new_wwo.h_max = -1
      except:
          new_wwo.h_max = 5
  
      assert new_wwo.h_max == 5
  
      try:
          new_wwo.alpha = "b"
      except:
          new_wwo.alpha = 1.001
  
      try:
          new_wwo.alpha = -1
      except:
          new_wwo.alpha = 1.001
  
      assert new_wwo.alpha == 1.001
  
      try:
          new_wwo.beta = "c"
      except:
          new_wwo.beta = 0.001
  
      try:
          new_wwo.beta = -1
      except:
          new_wwo.beta = 0.001
  
      assert new_wwo.beta == 0.001
  
      try:
          new_wwo.k_max = "d"
      except:
          new_wwo.k_max = 1
  
      try:
          new_wwo.k_max = -1
      except:
          new_wwo.k_max = 1
  
      assert new_wwo.k_max == 1
  
file_path: opytimizer/tests/opytimizer/optimizers/science/test_wwo.py
imports: import numpy
  from opytimizer.optimizers.science import wwo
  from opytimizer.spaces import search
label_desc: Use image node_id 2 for calling a global function with example usage: test_wwo_params_setter() without return types