@Test
public void testBasics() {

    PointList pl = new PointList(new XYPointFactory());
    assertEquals(0, pl.size());
    pl.add(new XYPoint(1,1));
    assertEquals(1, pl.size());
    pl = new PointList(new XYPointFactory(), pointsLatLon);
    assertEquals(3, pl.size());
}