You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pyModeS/tests/test_allcall.py

14 lines
268 B

4 years ago
from pyModeS import allcall
def test_icao():
assert allcall.icao("5D484FDEA248F5") == "484FDE"
def test_interrogator():
4 years ago
assert allcall.interrogator("5D484FDEA248F5") == "SI6"
4 years ago
def test_capability():
assert allcall.capability("5D484FDEA248F5")[0] == 5