@Test
public void testLength3D1() throws Exception {

        LineString geom = (LineString) wKTReader.read("LINESTRING(0 1 10, 10 1 0)");
        double length = CoordinatesUtils.length3D(geom.getCoordinateSequence());
        double expectedLength = 14.1421356237309;
        assertEquals(expectedLength, length, 10E-11);
}