### Question:
Router { public static List<Long> shortestPath(GraphDB g, double stlon, double stlat, double destlon, double destlat) { return null; }  static List<Long> shortestPath(GraphDB g, double stlon, double stlat,
                                          double destlon, double destlat); static List<NavigationDirection> routeDirections(GraphDB g, List<Long> route);  }### Answer:
@Test public void testShortestPath() throws Exception { List<Map<String, Double>> testParams = paramsFromFile(); List<List<Long>> 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); List<Long> actual = Router.shortestPath(graph, params.get("start_lon"), params.get("start_lat"), params.get("end_lon"), params.get("end_lat")); List<Long> expected = expectedResults.get(i); assertEquals("Your results did not match the expected results", expected, actual); } }