mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
switch to meter
This commit is contained in:
parent
424e0a582b
commit
3a76dab52b
1 changed files with 3 additions and 4 deletions
|
|
@ -18,11 +18,10 @@
|
|||
|
||||
package com.graphhopper.jsprit.core.util;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import com.graphhopper.jsprit.core.distance.SphericalDistanceCalculator;
|
||||
import org.junit.Test;
|
||||
|
||||
import com.graphhopper.jsprit.core.distance.SphericalDistanceCalculator;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* Created by schroeder on 28.11.14.
|
||||
|
|
@ -41,7 +40,7 @@ public class GreatCircleDistanceCalculatorTest {
|
|||
Coordinate.newInstance(lon1, lat1),
|
||||
Coordinate.newInstance(lon2, lat2)
|
||||
);
|
||||
assertEquals(600, greatCircle, 30.);
|
||||
assertEquals(621300, greatCircle, 30.);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue