input = new COSArray();
input.setFloatArray(new float[] {0.8f, 0.3f}); //results in 1.1f being outside Range
output = function.eval(input);
assertEquals(1, output.size());
assertEquals(new COSFloat(1.0f), output.get(0));
input = new COSArray();
input.setFloatArray(new float[] {0.8f, 1.2f}); //input argument outside Dimension
output = function.eval(input);
assertEquals(1, output.size());
assertEquals(new COSFloat(1.0f), output.get(0));
}