@Test
public void testGetLonLatRectangle() throws Exception {

    assertEquals(new Rectangle2D.Double(-180.0, 89.95, 0.05, 0.05),
            gridDef05.getLonLatRectangle(0, 0));
    assertEquals(new Rectangle2D.Double(0.0, 0.0, 0.05, 0.05),
            gridDef05.getLonLatRectangle(gridDef05.getWidth() / 2, gridDef05.getHeight() / 2 - 1));
}