assertEquals("Number of arguments, ", 1, rint.getFunctionName().getArgumentCount());
Function rintFunction = ff.function("rint", literal_1);
double good0 = Math.rint(1.0);
if (Double.isNaN(good0)) {
assertTrue("rint of (1.0):", Double.isNaN(((Double) rintFunction
.evaluate(null)).doubleValue()));
} else {
assertEquals("rint of (1.0):", (double) Math.rint(1.0),
((Double) rintFunction.evaluate(null)).doubleValue(),
0.00001);