### Question:
Rasterer { public Map<String, Object> getMapRaster(Map<String, Double> params) { Map<String, Object> results = new HashMap<>(); System.out.println("Since you haven't implemented getMapRaster, nothing is displayed in " + "your browser."); double lrlon = params.get(lrlon); double ullon = params.get(ullon); double width = params.get(w); double height = params.get(h); double ullat = params.get(ullat); double lrlat = params.get(lrlat); String[][] render_grid; double raster_ul_lon; double raster_ul_lat; double raster_lr_lon; double raster_lr_lat; int depth; boolean query_success; } Rasterer(); Map<String, Object> getMapRaster(Map<String, Double> params);  }### Answer:
@Test public void testGetMapRaster() throws Exception { List<Map<String, Double>> testParams = paramsFromFile(); List<Map<String, Object>> expectedResults = resultsFromFile(); for (int i = 0; i < NUM_TESTS; i++) { System.out.println(String.format("Running test: %d", i)); Map<String, Double> params = testParams.get(i); Map<String, Object> actual = rasterer.getMapRaster(params); Map<String, Object> expected = expectedResults.get(i); String msg = "Your results did not match the expected results for input " + mapToString(params) + ".\n"; checkParamsMap(msg, expected, actual); } }