pyModeS/tests/test_allcall.py

14 lines
268 B
Python
Raw Normal View History

2022-12-27 01:27:23 +08:00
from pyModeS import allcall
def test_icao():
assert allcall.icao("5D484FDEA248F5") == "484FDE"
def test_interrogator():
assert allcall.interrogator("5D484FDEA248F5") == "SI6"
def test_capability():
assert allcall.capability("5D484FDEA248F5")[0] == 5