Example #1
0
def test_ecef_llh_roundtrip(x):
    assert cs.ecef_from_llh(cs.llh_from_ecef(x)) == approx_dist(x)
Example #2
0
def test_to_ecef(llh, expected):
    assert cs.ecef_from_llh(llh) == approx_dist(expected)
Example #3
0
def test_llh_ecef_roundtrip(x):
    llh_isclose(cs.llh_from_ecef(cs.ecef_from_llh(x)), x)
Example #4
0
 def time_to_ecef(self):
     cs.ecef_from_llh(self.a)