@Test
public void testCreateLonBoundsData() {

    final GridDef gridDef = SpatialResolution.DEGREE_5_00.getGridDef();
    final float[][] lonBoundsData = WriterHelper.createLonBoundsData(gridDef);
    assertEquals(72, lonBoundsData.length);
    assertEquals(2, lonBoundsData[0].length);
    assertEquals(-180.0, lonBoundsData[0][0], 1e-8);
    assertEquals(-175.0, lonBoundsData[0][1], 1e-8);
    assertEquals(-5.0, lonBoundsData[35][0], 1e-8);
    assertEquals(0.0, lonBoundsData[35][1], 1e-8);
    assertEquals(175.0, lonBoundsData[71][0], 1e-8);
    assertEquals(180.0, lonBoundsData[71][1], 1e-8);
}