public void testTANH() throws Exception{
EvalFunc<DataAtom> TANH = new TANH();
Tuple tup = new Tuple(1);
tup.setField(0, 0.5);
DataAtom output = new DataAtom();
TANH.exec(tup, output);
double expected = Math.tanh(0.5);
double actual = (new Double(output.strval())).doubleValue();
assertEquals(actual, expected, delta);
}