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