code: def test_ep_params_setter():
      new_ep = ep.EP()
  
      try:
          new_ep.bout_size = "a"
      except:
          new_ep.bout_size = 0.5
  
      try:
          new_ep.bout_size = -1
      except:
          new_ep.bout_size = 0.5
  
      assert new_ep.bout_size == 0.5
  
      try:
          new_ep.clip_ratio = "b"
      except:
          new_ep.clip_ratio = 0.5
  
      try:
          new_ep.clip_ratio = -1
      except:
          new_ep.clip_ratio = 0.5
  
      assert new_ep.clip_ratio == 0.5
  
file_path: opytimizer/tests/opytimizer/optimizers/evolutionary/test_ep.py
imports: import numpy
  from opytimizer.optimizers.evolutionary import ep
  from opytimizer.spaces import search
label_desc: Use image node_id 2 for calling a global function with example usage: test_ep_params_setter() without return types