code: def test_rosenbrock_output(common_minima2):
      """Tests rosenbrock function output."""
      assert np.array_equal(
          fx.rosenbrock(common_minima2).all(), 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 14 for calling a global function with example usage: test_rosenbrock_output(common_minima2) without return types