/**
* Tests the distance between points function
*/
public void testOrthodromicDistance() throws Exception {
final Parser parser = new Parser();
final DefaultProjectedCRS crs = (DefaultProjectedCRS) parser.parseObject(NAD83_BC);
double d = JTS.orthodromicDistance(new Coordinate(1402848.1938534670, 651571.1729878788),
new Coordinate(1389481.3104009738, 641990.9430108378), crs);
double realValue = 16451.33114;
assertEquals(realValue, d, 0.1);
}