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