code: def test_fpa_params():
      params = {"beta": 1.0, "eta": 0.5, "p": 0.5}
  
      new_fpa = fpa.FPA(params=params)
  
      assert new_fpa.beta == 1.0
  
      assert new_fpa.eta == 0.5
  
      assert new_fpa.p == 0.5
  
file_path: opytimizer/tests/opytimizer/optimizers/swarm/test_fpa.py
imports: import numpy
  from opytimizer.optimizers.swarm import fpa
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_fpa_params() without return types