update setup and test code
This commit is contained in:
parent
3691d6f73d
commit
220b8e9716
2
setup.py
2
setup.py
@ -23,7 +23,7 @@ setup(
|
||||
# Versions should comply with PEP440. For a discussion on single-sourcing
|
||||
# the version across setup.py and the project code, see
|
||||
# https://packaging.python.org/en/latest/single_source_version.html
|
||||
version='1.0.5',
|
||||
version='1.0.7',
|
||||
|
||||
description='Python Mode-S Decoder',
|
||||
long_description=long_description,
|
||||
|
@ -51,8 +51,8 @@ def test_adsb_alt():
|
||||
def test_adsb_velocity():
|
||||
vgs = adsb.velocity("8D485020994409940838175B284F")
|
||||
vas = adsb.velocity("8DA05F219B06B6AF189400CBC33F")
|
||||
assert vgs == (159, 182.9, -14, 'GS')
|
||||
assert vas == (376, 244.0, -37, 'AS')
|
||||
assert vgs == (159, 182.9, -832, 'GS')
|
||||
assert vas == (376, 244.0, -2304, 'AS')
|
||||
|
||||
|
||||
def test_nic():
|
||||
|
Loading…
Reference in New Issue
Block a user