assertEquals("TAN not working", eval(t, d), Math.tan(d));
}
}
public void testTANH() throws Exception {
TANH t = new TANH();
for (int i = 0; i < 100; i++) {
double d = Math.random() * 1000;
assertEquals("TANH not working", eval(t, d), Math.tanh(d));
}
}