code: def test_eggholder_output(common_minima2):
      """Tests eggholder function output."""
      assert np.isclose(
          fx.eggholder([512, 404.3219] * common_minima2),
          (-959.6407 * np.ones(3)),
      ).all()
  
imports: from collections import namedtuple
  import numpy
  import pytest
  from pyswarms.utils.functions import single_obj
label_desc: Use image node_id 7 for calling a global function with example usage: test_eggholder_output(common_minima2) without return types