code: def test_array_geodetic2ecef():
      np = pytest.importorskip("numpy")
  
      lla = (
          np.asarray(lla0[0]),
          np.asarray(lla0[1]),
          np.asarray(lla0[2]),
      )
      xyz = pm.geodetic2ecef(*lla)
      assert np.isclose(pm.ecef2geodetic(*xyz), lla).all()
  
      lla = (
          np.atleast_1d(lla0[0]),
          np.atleast_1d(lla0[1]),
          np.atleast_1d(lla0[2]),
      )
      xyz = pm.geodetic2ecef(*lla)
      assert np.isclose(pm.ecef2geodetic(*xyz), lla).all()
  
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 2 for calling a global function with example usage: test_array_geodetic2ecef() without return types