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