code: def test_aer2ecef(aer, lla, xyz):
      x, y, z = pm.aer2ecef(*aer, *lla)
      assert x == approx(xyz[0])
      assert y == approx(xyz[1])
      assert z == approx(xyz[2])
      assert isinstance(x, float)
      assert isinstance(y, float)
      assert isinstance(z, float)
  
      raer = (radians(aer[0]), radians(aer[1]), aer[2])
      rlla = (radians(lla[0]), radians(lla[1]), lla[2])
      assert pm.aer2ecef(*raer, *rlla, deg=False) == approx(xyz)
  
      with pytest.raises(ValueError):
          pm.aer2ecef(aer[0], aer[1], -1, *lla)
  
file_path: pymap3d/src/pymap3d/tests/test_aer.py
imports: from math import radians
  import pymap3d
  import pytest
  from pytest import approx
label_desc: Use image node_id 1 for calling a global function with example usage: test_aer2ecef(aer, lla, xyz) without return types