code: def test_compare_eci2ecef(matmap3d):
      eng = matlab_engine()
  
      if matmap3d:
          if not has_matmap3d(eng):
              pytest.skip("Matmap3d not found")
      else:
          if not has_aerospace(eng):
              pytest.skip("Aerospace Toolbox not found")
  
      eci = [-3009680.518620539, 5194367.153184303, 3156028.0]
      utc = datetime(2019, 1, 4, 12)
      rtol = 0.02
  
      ecef_py = pymap3d.eci2ecef(eci[0], eci[1], eci[2], utc)
  
      ecef_m = eci2ecef(eng, matmap3d, pydt2matdt(eng, utc), eci)
  
      assert ecef_py == approx(ecef_m, rel=rtol)
  
file_path: pymap3d/src/pymap3d/tests/test_matlab_ecef2eci.py
imports: from __future__ import annotations
  from datetime import datetime
  import pytest
  from pytest import approx
  import pymap3d
label_desc: Use image node_id 4 for calling a global function with example usage: test_compare_eci2ecef(matmap3d) without return types