Merge branch 'bds-61' of git://github.com/tuftedocelot/pyModeS into tuftedocelot-bds-61

This commit is contained in:
Junzi Sun
2020-05-23 19:55:30 +02:00
3 changed files with 104 additions and 0 deletions

View File

@@ -80,6 +80,11 @@ def test_adsb_velocity():
assert adsb.altitude_diff("8D485020994409940838175B284F") == 550
def test_adsb_emergency():
assert not adsb.is_emergency('8DA2C1B6E112B600000000760759')
assert adsb.emergency_squawk('8DA2C1B6E112B600000000760759') == '6615'
# def test_nic():
# assert adsb.nic('8D3C70A390AB11F55B8C57F65FE6') == 0
# assert adsb.nic('8DE1C9738A4A430B427D219C8225') == 1