def test_llh_ecef_roundtrip(x): llh_isclose(cs.llh_from_ecef(cs.ecef_from_llh(x)), x)
def test_ecef_llh_roundtrip(x): assert cs.ecef_from_llh(cs.llh_from_ecef(x)) == approx_dist(x)
def test_to_llh(ecef, expected): llh_isclose(cs.llh_from_ecef(ecef), expected)