code: def test_xarray_ecef():
      xarray = pytest.importorskip("xarray")
  
      lla = xarray.DataArray(list(lla0))
  
      xyz = pm.geodetic2ecef(*lla)
      lla1 = pm.ecef2geodetic(*xyz)
      assert lla1 == approx(lla)
  
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 6 for calling a global function with example usage: test_xarray_ecef() without return types