code: def test_geocentric_radius():
      assert rcurve.geocentric_radius(0) == approx(ell.semimajor_axis)
      assert rcurve.geocentric_radius(90) == approx(ell.semiminor_axis)
      assert rcurve.geocentric_radius(45) == approx(6367490.0)
      assert rcurve.geocentric_radius(30) == approx(6372824.0)
  
file_path: pymap3d/src/pymap3d/tests/test_rsphere.py
imports: import pymap3d
  import pymap3d.rcurve
  import pymap3d.rsphere
  import pytest
  from pytest import approx
label_desc: Use image node_id 1 for calling a global function with example usage: test_geocentric_radius() without return types