code: def test_beale_output(common_minima2):
      """Tests beale function output."""
      assert np.isclose(
          fx.beale([3, 0.5] * common_minima2), np.zeros(3)
      ).all()
  
imports: from collections import namedtuple
  import numpy
  import pytest
  from pyswarms.utils.functions import single_obj
label_desc: Use image node_id 2 for calling a global function with example usage: test_beale_output(common_minima2) without return types