code: def test_loa_params_setter():
      new_loa = loa.LOA()
  
      try:
          new_loa.N = "a"
      except:
          new_loa.N = 0.2
  
      assert new_loa.N == 0.2
  
      try:
          new_loa.N = -1
      except:
          new_loa.N = 0.2
  
      assert new_loa.N == 0.2
  
      try:
          new_loa.P = "b"
      except:
          new_loa.P = 4
  
      assert new_loa.P == 4
  
      try:
          new_loa.P = -1
      except:
          new_loa.P = 4
  
      assert new_loa.P == 4
  
      try:
          new_loa.S = "c"
      except:
          new_loa.S = 0.8
  
      assert new_loa.S == 0.8
  
      try:
          new_loa.S = -1
      except:
          new_loa.S = 0.8
  
      assert new_loa.S == 0.8
  
      try:
          new_loa.R = "d"
      except:
          new_loa.R = 0.2
  
      assert new_loa.R == 0.2
  
      try:
          new_loa.R = -1
      except:
          new_loa.R = 0.2
  
      assert new_loa.R == 0.2
  
      try:
          new_loa.I = "e"
      except:
          new_loa.I = 0.4
  
      assert new_loa.I == 0.4
  
      try:
          new_loa.I = -1
      except:
          new_loa.I = 0.4
  
      assert new_loa.I == 0.4
  
      try:
          new_loa.Ma = "f"
      except:
          new_loa.Ma = 0.3
  
      assert new_loa.Ma == 0.3
  
      try:
          new_loa.Ma = -1
      except:
          new_loa.Ma = 0.3
  
      assert new_loa.Ma == 0.3
  
      try:
          new_loa.Mu = "g"
      except:
          new_loa.Mu = 0.2
  
      assert new_loa.Mu == 0.2
  
      try:
          new_loa.Mu = -1
      except:
          new_loa.Mu = 0.2
  
      assert new_loa.Mu == 0.2
  
imports: from types import new_class
  import numpy
  from opytimizer.optimizers.population import loa
  from opytimizer.spaces import search
label_desc: Use image node_id 4 for calling a global function with example usage: test_loa_params_setter() without return types