code: def test_umda_params_setter():
      new_umda = umda.UMDA()
  
      try:
          new_umda.p_selection = "a"
      except:
          new_umda.p_selection = 0.75
  
      assert new_umda.p_selection == 0.75
  
      try:
          new_umda.p_selection = -1
      except:
          new_umda.p_selection = 0.75
  
      assert new_umda.p_selection == 0.75
  
      try:
          new_umda.lower_bound = "a"
      except:
          new_umda.lower_bound = 0.05
  
      assert new_umda.lower_bound == 0.05
  
      try:
          new_umda.lower_bound = -1
      except:
          new_umda.lower_bound = 0.05
  
      assert new_umda.lower_bound == 0.05
  
      try:
          new_umda.upper_bound = "a"
      except:
          new_umda.upper_bound = 0.95
  
      assert new_umda.upper_bound == 0.95
  
      try:
          new_umda.upper_bound = -1
      except:
          new_umda.upper_bound = 0.95
  
      assert new_umda.upper_bound == 0.95
  
      try:
          new_umda.upper_bound = 0.04
      except:
          new_umda.upper_bound = 0.95
  
      assert new_umda.upper_bound == 0.95
  
file_path: opytimizer/tests/opytimizer/optimizers/boolean/test_umda.py
imports: import numpy
  from opytimizer.optimizers.boolean import umda
  from opytimizer.spaces import boolean
label_desc: Use image node_id 2 for calling a global function with example usage: test_umda_params_setter() without return types