code: def test_sphere_transform():
      # USGS Professional Paper 1395, pg 367
      globe = ccrs.Globe(
          semimajor_axis=1.0, semiminor_axis=1.0, ellipse=None
      )
      moll = ccrs.Mollweide(central_longitude=-90.0, globe=globe)
      geodetic = moll.as_geodetic()
  
      other_args = {"a=1.0", "b=1.0", "lon_0=-90.0"}
      check_proj_params("moll", moll, other_args)
  
      assert_allclose(
          np.array(moll.x_limits),
          [-2.8284271247461903, 2.8284271247461903],
      )
      assert_allclose(
          np.array(moll.y_limits),
          [-1.4142135623730951, 1.4142135623730951],
      )
  
      result = moll.transform_point(-75.0, -50.0, geodetic)
      assert_allclose(result, [0.1788845, -0.9208758])
  
      inverse_result = geodetic.transform_point(
          result[0], result[1], moll
      )
      assert_allclose(inverse_result, [-75.0, -50.0])
  
file_path: cartopy/lib/cartopy/tests/crs/test_mollweide.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  import cartopy.crs
  from .helpers import check_proj_params
label_desc: Use image node_id 8 for calling a global function with example usage: test_sphere_transform() without return types