update test

This commit is contained in:
Junzi Sun 2023-05-22 17:05:43 +02:00
parent 50864b56aa
commit 8e2051af68

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