LineString ls1 = components.get(0);
assertEquals(2, ls1.getNumPoints());
assertEquals(new Coordinate(10, 45), ls1.getCoordinateN(0));
assertEquals(new Coordinate(20, 45), ls1.getCoordinateN(1));
CircularString cs = (CircularString) components.get(1);
assertArrayEquals(new double[] { 20.0, 45.0, 23.0, 48.0, 20.0, 51.0 },
cs.getControlPoints(), 0d);
LineString ls2 = components.get(2);
assertEquals(2, ls2.getNumPoints());
assertEquals(new Coordinate(20, 51), ls2.getCoordinateN(0));
assertEquals(new Coordinate(10, 51), ls2.getCoordinateN(1));