104105106107108109110111112
assertEquals("ATAN not working", TH.eval(a, d), Math.atan(d)); } } public void testATAN2() throws Exception { ATAN2 a = new ATAN2(); assertEquals(TH.eval(a, 1, 1), 0.785398163397448); assertEquals(TH.eval(a, -1, -1), -2.35619449019234); }