code: def test_teo_params_setter():
      new_teo = teo.TEO()
  
      try:
          new_teo.c1 = 1
      except:
          new_teo.c1 = True
  
      assert new_teo.c1 is True
  
      try:
          new_teo.c2 = 1
      except:
          new_teo.c2 = True
  
      assert new_teo.c2 is True
  
      try:
          new_teo.pro = "a"
      except:
          new_teo.pro = 0.05
  
      assert new_teo.pro == 0.05
  
      try:
          new_teo.pro = -1
      except:
          new_teo.pro = 0.05
  
      assert new_teo.pro == 0.05
  
      try:
          new_teo.n_TM = "b"
      except:
          new_teo.n_TM = 4
  
      assert new_teo.n_TM == 4
  
      try:
          new_teo.n_TM = -1
      except:
          new_teo.n_TM = 4
  
      assert new_teo.n_TM == 4
  
      try:
          new_teo.TM = 1
      except:
          new_teo.TM = []
  
      assert new_teo.TM == []
  
imports: from opytimizer.optimizers.science import teo
  from opytimizer.spaces import search
label_desc: Use image node_id 2 for calling a global function with example usage: test_teo_params_setter() without return types