### Question:
InsituReader extends NetcdfReader { static boolean isNotOnPlanet(double startLat, double endLat) { return startLat < -90.0 || startLat > 90.0 || endLat < -90.0 || endLat > 90.0; } InsituReader(String sensorName); @Override void open(DataFile datafile, File archiveRoot); @Override void close(); @Override int getNumRecords(); @Override InsituObservation readObservation(int recordNo); @Override List<SamplingPoint> readSamplingPoints(); @Override final Array read(String role, ExtractDefinition extractDefinition); @Override GeoCoding getGeoCoding(int recordNo); @Override double getDTime(int recordNo, int scanLine); @Override long getTime(int recordNo, int scanLine); @Override InsituSource getInsituSource(); @Override String getDatasetName(); @Override int getScanLineCount(); @Override int getElementCount();  }### Answer:
@Test public void testIsNotOnPlanet() { assertFalse(InsituReader.isNotOnPlanet(0.0, 0.0)); assertFalse(InsituReader.isNotOnPlanet(-17.0, 56.0)); assertFalse(InsituReader.isNotOnPlanet(38.0, -36.0)); assertTrue(InsituReader.isNotOnPlanet(90.1, -36.0)); assertTrue(InsituReader.isNotOnPlanet(-90.1, -36.0)); assertTrue(InsituReader.isNotOnPlanet(18.3, -180.1)); assertTrue(InsituReader.isNotOnPlanet(18.3, 180.1)); }