assertEquals("ABS not working", TH.eval(a, d), Math.abs(d));
}
}
public void testACOS() throws Exception {
ACOS a = new ACOS();
TH.testDoubleInOutFunction(a);
for (int i = 0; i < 100; i++) {
double d = Math.random() * Math.PI;
assertEquals("ACOS not working", TH.eval(a, d), Math.acos(d));
}