code: def test_sphere_transform():
      # USGS Professional Paper 1395, pp 287 - 288
      globe = ccrs.Globe(semimajor_axis=1.0, ellipse=None)
      mill = ccrs.Miller(central_longitude=0.0, globe=globe)
      geodetic = mill.as_geodetic()
  
      other_args = {"a=1.0", "lon_0=0.0"}
      check_proj_params("mill", mill, other_args)
  
      assert_almost_equal(
          np.array(mill.x_limits), [-3.14159265, 3.14159265]
      )
      assert_almost_equal(
          np.array(mill.y_limits), [-2.3034125, 2.3034125]
      )
  
      result = mill.transform_point(-75.0, 50.0, geodetic)
      assert_almost_equal(result, [-1.3089969, 0.9536371])
  
      inverse_result = geodetic.transform_point(
          result[0], result[1], mill
      )
      assert_almost_equal(inverse_result, [-75.0, 50.0])
  
file_path: cartopy/lib/cartopy/tests/crs/test_miller.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_sphere_transform() without return types