code: def test_ci_params_setter():
      new_ci = ci.CI()
  
      try:
          new_ci.r = "a"
      except:
          new_ci.r = 0.8
  
      assert new_ci.r == 0.8
  
      try:
          new_ci.r = -1
      except:
          new_ci.r = 0.8
  
      assert new_ci.r == 0.8
  
      try:
          new_ci.t = "b"
      except:
          new_ci.t = 3
  
      assert new_ci.t == 3
  
      try:
          new_ci.t = -1
      except:
          new_ci.t = 3
  
      assert new_ci.t == 3
  
imports: import numpy
  from opytimizer.optimizers.social import ci
  from opytimizer.spaces import search
label_desc: Use image node_id 2 for calling a global function with example usage: test_ci_params_setter() without return types