update test

This commit is contained in:
Junzi Sun 2023-05-22 15:47:44 +02:00 committed by Xavier Olive
parent 8e2051af68
commit 57aa7a7d9c

View File

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