code: def test_rastrigin_output(common_minima):
      """Tests rastrigin function output."""
      assert np.array_equal(fx.rastrigin(common_minima), np.zeros(3))
  
imports: from collections import namedtuple
  import numpy
  import pytest
  from pyswarms.utils.functions import single_obj
label_desc: Use image node_id 13 for calling a global function with example usage: test_rastrigin_output(common_minima) without return types