diff options
Diffstat (limited to 'test/org/traccar/reports/ReportUtilsTest.java')
-rw-r--r-- | test/org/traccar/reports/ReportUtilsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/reports/ReportUtilsTest.java b/test/org/traccar/reports/ReportUtilsTest.java index 2e01505db..9a30ce3a7 100644 --- a/test/org/traccar/reports/ReportUtilsTest.java +++ b/test/org/traccar/reports/ReportUtilsTest.java @@ -14,7 +14,7 @@ public class ReportUtilsTest { endPosition.set(Position.KEY_TOTAL_DISTANCE, 700.0); Assert.assertEquals(ReportUtils.calculateDistance(startPosition, endPosition), 200.0, 10); startPosition.set(Position.KEY_ODOMETER, 50000); - endPosition.set(Position.KEY_ODOMETER, 50001); + endPosition.set(Position.KEY_ODOMETER, 51000); Assert.assertEquals(ReportUtils.calculateDistance(startPosition, endPosition), 1000.0, 10); } |