2020-11-15 05:05:48 +08:00
|
|
|
from pyModeS import allcall
|
|
|
|
|
|
|
|
|
|
|
|
def test_icao():
|
|
|
|
assert allcall.icao("5D484FDEA248F5") == "484FDE"
|
|
|
|
|
|
|
|
|
|
|
|
def test_interrogator():
|
2021-01-23 08:22:19 +08:00
|
|
|
assert allcall.interrogator("5D484FDEA248F5") == "SI6"
|
2020-11-15 05:05:48 +08:00
|
|
|
|
|
|
|
|
|
|
|
def test_capability():
|
|
|
|
assert allcall.capability("5D484FDEA248F5")[0] == 5
|