### Question:
ClearSkyProbability { double getSample(double lon, double lat) { final int x = gridDef.getGridX(lon, true); final int y = gridDef.getGridY(lat, true); return grid.getSampleDouble(x, y); } ClearSkyProbability();   }### Answer:
@Test public void testCloudPriors() throws Exception { final ClearSkyProbability clearSkyProbability = new ClearSkyProbability(); assertEquals(0.185, clearSkyProbability.getSample(0.0, 0.0), 0.001); assertEquals(0.084, clearSkyProbability.getSample(20.0, 0.0), 0.001); }