minor fix in surface speed calculation

This commit is contained in:
Junzi Sun
2020-07-29 00:53:05 +02:00
parent 0d7f628f3c
commit 1f15a953e3
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ def test_adsb_velocity():
vgs_surface = adsb.velocity("8FC8200A3AB8F5F893096B000000")
assert vgs == (159, 182.88, -832, "GS")
assert vas == (375, 243.98, -2304, "TAS")
assert vgs_surface == (19.0, 42.2, 0, "GS")
assert vgs_surface == (19, 42.2, 0, "GS")
assert adsb.altitude_diff("8D485020994409940838175B284F") == 550