Skip to content

Commit

Permalink
avoid NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
cpesch committed Jan 21, 2024
1 parent 320dd7f commit d875a19
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public void testSrtm3ElevationFor() throws IOException {
assertEquals(190, service.getSRTM3ElevationFor(11.2, 60.0), 5);
assertNull(service.getSRTM3ElevationFor(11.2, 61.0));

assertEquals(77, service.getSRTM3ElevationFor(-68.0, -54.0), 5);
assertEquals(455, service.getSRTM3ElevationFor(-68.0, -55.0), 5);
assertNull(service.getSRTM3ElevationFor(-68.0, -56.0));
assertNull(service.getSRTM3ElevationFor(-68.0, -56.1));
Expand Down

0 comments on commit d875a19

Please sign in to comment.