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