### Question:
MetopReader extends AvhrrReader implements AvhrrConstants { static double computeAda(double vaa, double saa) { double ada = saa - vaa; if (ada <= -180.0) { ada += 360.0; } else if (ada > +180.0) { ada -= 360.0; } return ada; } MetopReader(ProductReaderPlugIn metopReaderPlugIn);   }### Answer:
@Test public void testComputeAda() { assertEquals(-55.6, MetopReader.computeAda(123.5, 67.9), 1e-8); assertEquals(-10.1, MetopReader.computeAda(-172.5, 177.4), 1e-8); assertEquals(7.7, MetopReader.computeAda(175.2, -177.1), 1e-8); }