def test_ecef_llh_roundtrip(x): assert cs.ecef_from_llh(cs.llh_from_ecef(x)) == approx_dist(x)
def test_to_ecef(llh, expected): assert cs.ecef_from_llh(llh) == approx_dist(expected)
def test_llh_ecef_roundtrip(x): llh_isclose(cs.llh_from_ecef(cs.ecef_from_llh(x)), x)
def time_to_ecef(self): cs.ecef_from_llh(self.a)