1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

adjusted test.java.core.algorithm.BuildCVRPAlgoFromScratch_IT.java

This commit is contained in:
oblonski 2014-04-23 14:18:06 +02:00
parent b1c3231991
commit 5e3353e889

View file

@ -116,7 +116,7 @@ public class BuildCVRPAlgoFromScratch_IT {
public void testVRA(){ public void testVRA(){
Collection<VehicleRoutingProblemSolution> solutions = vra.searchSolutions(); Collection<VehicleRoutingProblemSolution> solutions = vra.searchSolutions();
System.out.println("costs="+Solutions.bestOf(solutions).getCost()+";#routes="+Solutions.bestOf(solutions).getRoutes().size()); System.out.println("costs="+Solutions.bestOf(solutions).getCost()+";#routes="+Solutions.bestOf(solutions).getRoutes().size());
assertEquals(530.0, Solutions.bestOf(solutions).getCost(),15.0); assertEquals(530.0, Solutions.bestOf(solutions).getCost(),50.0);
assertEquals(5, Solutions.bestOf(solutions).getRoutes().size()); assertEquals(5, Solutions.bestOf(solutions).getRoutes().size());
} }