示例#1
0
def test_llh_ecef_roundtrip(x):
    llh_isclose(cs.llh_from_ecef(cs.ecef_from_llh(x)), x)
示例#2
0
def test_ecef_llh_roundtrip(x):
    assert cs.ecef_from_llh(cs.llh_from_ecef(x)) == approx_dist(x)
示例#3
0
def test_to_llh(ecef, expected):
    llh_isclose(cs.llh_from_ecef(ecef), expected)