()
| 1604 | } |
| 1605 | |
| 1606 | @Test |
| 1607 | public void testMAXFinal() throws Exception { |
| 1608 | |
| 1609 | String[] maxTypes = {"MAXFinal", "LongMaxFinal", "IntMaxFinal", "FloatMaxFinal", "BigDecimalMaxFinal", "BigIntegerMaxFinal", "StringMaxFinal", "DateTimeMaxFinal"}; |
| 1610 | for (int k = 0; k < maxTypes.length; k++) { |
| 1611 | EvalFunc<?> max = evalFuncMap.get(maxTypes[k]); |
| 1612 | String inputType = getInputType(maxTypes[k]); |
| 1613 | Tuple tup = inputMap.get(inputType); |
| 1614 | Object output = max.exec(tup); |
| 1615 | |
| 1616 | String msg = "[Testing " + maxTypes[k] + " on input type: " + getInputType(maxTypes[k]) + " ( (output) " + |
| 1617 | output + " == " + getExpected(maxTypes[k]) + " (expected) )]"; |
| 1618 | assertForInputType(inputType, msg, getExpected(maxTypes[k]), output); |
| 1619 | } |
| 1620 | |
| 1621 | } |
| 1622 | |
| 1623 | @Test |
| 1624 | public void testMAXAccumulate() throws Exception { |
nothing calls this directly
no test coverage detected