@Test
public void testIsPointInPolygon() {

    final Geometry geometry = new Polygon(
            new LinearRing[]{new LinearRing(PolarOrbitingPolygonTestData.TEST_POLYGON)});
    final PolarOrbitingPolygon polygon = new PolarOrbitingPolygon(1, System.currentTimeMillis(), geometry);
    for (Point point : PolarOrbitingPolygonTestData.TEST_POINTS_INSIDE) {
        assertTrue("lat=" + point.getY() + " lon=" + point.getX(),
                polygon.isPointInPolygon(point.getY(), point.getX()));
    }
    for (Point point : PolarOrbitingPolygonTestData.TEST_POINTS_OUTSIDE) {
        assertFalse("lat=" + point.getY() + " lon=" + point.getX(),
                polygon.isPointInPolygon(point.getY(), point.getX()));
    }
}