code: def test_aer_geodetic(aer, lla, lla0):
      lat1, lon1, alt1 = pm.aer2geodetic(*aer, *lla0)
      assert lat1 == approx(lla[0])
      assert lon1 == approx(lla[1])
      assert alt1 == approx(lla[2])
      assert isinstance(lat1, float)
      assert isinstance(lon1, float)
      assert isinstance(alt1, float)
  
      raer = (radians(aer[0]), radians(aer[1]), aer[2])
      rlla0 = (radians(lla0[0]), radians(lla0[1]), lla0[2])
      assert pm.aer2geodetic(*raer, *rlla0, deg=False) == approx(
          (radians(lla[0]), radians(lla[1]), lla[2])
      )
  
      with pytest.raises(ValueError):
          pm.aer2geodetic(aer[0], aer[1], -1, *lla0)
  
      assert pm.geodetic2aer(*lla, *lla0) == approx(aer, rel=1e-3)
      assert pm.geodetic2aer(
          radians(lla[0]), radians(lla[1]), lla[2], *rlla0, deg=False
      ) == approx(raer, rel=1e-3)
  
file_path: pymap3d/src/pymap3d/tests/test_geodetic.py
imports: from math import isnan, nan, radians, sqrt
  import pymap3d
  import pytest
  from pytest import approx
label_desc: Use image node_id 11 for calling a global function with example usage: test_aer_geodetic(aer, lla, lla0) without return types