minor fix
This commit is contained in:
parent
458a78c30b
commit
8d9a8df9d9
3
pyModeS/.gitignore
vendored
Normal file
3
pyModeS/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
decoder/flarm/decode.c
|
||||||
|
extra/demod2400/core.c
|
||||||
|
c_common.c
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user