code: def test_eckert_grid(name, proj, radius, expected_x, expected_y):
      globe = ccrs.Globe(semimajor_axis=radius, ellipse=None)
      eck = proj(globe=globe)
      geodetic = eck.as_geodetic()
  
      other_args = {f"a={radius}", "lon_0=0"}
      check_proj_params(name, eck, other_args)
  
      assert_almost_equal(eck.x_limits, [-2, 2], decimal=5)
      assert_almost_equal(eck.y_limits, [-1, 1], decimal=5)
  
      lats = np.arange(0, 91, 5)[::-1]
      lons = np.full_like(lats, 90)
      result = eck.transform_points(geodetic, lons, lats)
  
      assert_almost_equal(result[:, 0], expected_x, decimal=5)
      assert_almost_equal(result[:, 1], expected_y, decimal=5)
  
file_path: cartopy/lib/cartopy/tests/crs/test_eckert.py
imports: import numpy
  from numpy.testing import assert_almost_equal
  import pytest
  import cartopy.crs
  from .helpers import check_proj_params
label_desc: Use image node_id 7 for calling a global function with example usage: test_eckert_grid(name, proj, radius, expected_x, expected_y) without return types