@Test
public void testSetSample() {

    final ArrayGrid arrayGrid = ArrayGrid.create(GridDef.createGlobal(0.05), (double[]) null);
    assertEquals(0.0, arrayGrid.getSampleDouble(19, 108), 1e-8);
    arrayGrid.setSample(19, 108, 22.8);
    assertEquals(22.8, arrayGrid.getSampleDouble(19, 108), 1e-8);
}