File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/aero/t2s/modes/decoder/df/df17 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ public void test_airborne_position_aircraft() throws UnknownDownlinkFormatExcept
40
40
AirbornePosition positionB = (AirbornePosition ) exSqB ;
41
41
// We should now have a valid position after receiving both even and odd frames
42
42
assertEquals (true , positionB .isPositionAvailable ());
43
- assertEquals (Math . round ( 52.789 * 100 ), Math . round ( positionB .getLat () * 100 ) );
44
- assertEquals (Math . round ( -2.405 * 100 ), Math . round ( positionB .getLon () * 100 ) );
43
+ assertEquals (52.789 , positionB .getLat (), 0.001 );
44
+ assertEquals (-2.405 , positionB .getLon (), 0.001 );
45
45
}
46
46
47
47
private DownlinkFormat testMessage (String message ) throws UnknownDownlinkFormatException {
You can’t perform that action at this time.
0 commit comments