update setup and test code

This commit is contained in:
Junzi Sun 2016-10-26 21:03:14 +02:00
parent 3691d6f73d
commit 220b8e9716
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ setup(
# Versions should comply with PEP440. For a discussion on single-sourcing # Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see # the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html # https://packaging.python.org/en/latest/single_source_version.html
version='1.0.5', version='1.0.7',
description='Python Mode-S Decoder', description='Python Mode-S Decoder',
long_description=long_description, long_description=long_description,

View File

@ -51,8 +51,8 @@ def test_adsb_alt():
def test_adsb_velocity(): def test_adsb_velocity():
vgs = adsb.velocity("8D485020994409940838175B284F") vgs = adsb.velocity("8D485020994409940838175B284F")
vas = adsb.velocity("8DA05F219B06B6AF189400CBC33F") vas = adsb.velocity("8DA05F219B06B6AF189400CBC33F")
assert vgs == (159, 182.9, -14, 'GS') assert vgs == (159, 182.9, -832, 'GS')
assert vas == (376, 244.0, -37, 'AS') assert vas == (376, 244.0, -2304, 'AS')
def test_nic(): def test_nic():