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