Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoerl committed Feb 15, 2024
1 parent 8448467 commit 60d84e2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void testRangeConstraintWithCustomInstances() {
}

assertEquals(1470, distanceCalculator.calculatedDistances);
assertEquals(5288, distanceApproximator.calculatedDistances);
assertEquals(5280, distanceApproximator.calculatedDistances);
}

@Test
Expand Down Expand Up @@ -319,7 +319,7 @@ protected void configureQSim() {
}

assertEquals(1470, distanceCalculator.calculatedDistances);
assertEquals(5288, distanceApproximator.calculatedDistances);
assertEquals(5280, distanceApproximator.calculatedDistances);
}

static class CustomDistanceCalculator extends CustomCalculator {
Expand Down Expand Up @@ -464,9 +464,9 @@ void testVehicleDistanceObjective() {
controller.run();

assertEquals(22, handler.rejectedRequests);
assertEquals(2066658.0, handler.fleetDistance, 1e-3);
assertEquals(694149.0, handler.activeTime(), 1e-3);
assertEquals(280.61475, handler.meanWaitTime(), 1e-3);
assertEquals(2070663.0, handler.fleetDistance, 1e-3);
assertEquals(699076.0, handler.activeTime(), 1e-3);
assertEquals(279.37704, handler.meanWaitTime(), 1e-3);
}

@Test
Expand Down

0 comments on commit 60d84e2

Please sign in to comment.