code: def test_af_params():
      params = {"c1": 0.75, "c2": 1.25, "m": 10, "Q": 0.75}
  
      new_af = af.AF(params=params)
  
      assert new_af.c1 == 0.75
  
      assert new_af.c2 == 1.25
  
      assert new_af.m == 10
  
      assert new_af.Q == 0.75
  
imports: import numpy
  from opytimizer.optimizers.swarm import af
  from opytimizer.spaces import search
label_desc: Use image node_id 1 for calling a global function with example usage: test_af_params() without return types