code: def test_lsa_params():
      params = {"max_time": 10, "E": 2.05, "p_fork": 0.01}
  
      new_lsa = lsa.LSA(params=params)
  
      assert new_lsa.max_time == 10
      assert new_lsa.E == 2.05
      assert new_lsa.p_fork == 0.01
  
file_path: opytimizer/tests/opytimizer/optimizers/science/test_lsa.py
imports: import numpy
  from opytimizer.optimizers.science import lsa
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_lsa_params() without return types