()
| 1127 | } |
| 1128 | |
| 1129 | @Test |
| 1130 | public void testCOUNT() throws Exception { |
| 1131 | Integer input[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, null }; |
| 1132 | long expected = input.length - 1; |
| 1133 | |
| 1134 | EvalFunc<Long> count = new COUNT(); |
| 1135 | Tuple tup = Util.loadNestTuple(TupleFactory.getInstance().newTuple(1), input); |
| 1136 | Long output = count.exec(tup); |
| 1137 | |
| 1138 | assertTrue(output == expected); |
| 1139 | } |
| 1140 | |
| 1141 | @Test |
| 1142 | public void testCOUNTIntermed() throws Exception { |
nothing calls this directly
no test coverage detected