minor fix

This commit is contained in:
Xavier Olive 2023-07-18 13:47:06 +00:00
parent 458a78c30b
commit 8d9a8df9d9
2 changed files with 4 additions and 1 deletions

3
pyModeS/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
decoder/flarm/decode.c
extra/demod2400/core.c
c_common.c

View File

@ -28,7 +28,7 @@ def test_bds50_functions():
for module in [bds.bds50, commb]: for module in [bds.bds50, commb]:
assert module.roll50(msg1) == approx(2.1, 0.01) assert module.roll50(msg1) == approx(2.1, 0.01)
assert module.roll50(msg2) == approx(-0.4, 0.01) # signed value assert module.roll50(msg2) == approx(-0.35, 0.01) # signed value
assert module.trk50(msg1) == approx(114.258, 0.1) assert module.trk50(msg1) == approx(114.258, 0.1)
assert module.gs50(msg1) == 438 assert module.gs50(msg1) == 438
assert module.rtrk50(msg1) == 0.125 assert module.rtrk50(msg1) == 0.125