@param inp2 @return @throws ExecException
(DataBag inp2)
| 119 | * @throws ExecException |
| 120 | */ |
| 121 | private int getExpCount(DataBag inp2) throws ExecException { |
| 122 | // TODO Auto-generated method stub |
| 123 | int count = 0; |
| 124 | for (Iterator<Tuple> it = inp2.iterator(); it.hasNext();) { |
| 125 | |
| 126 | Tuple t = it.next(); |
| 127 | if (t.get(1) != null && (Integer)t.get(1) > 50) |
| 128 | count++; |
| 129 | } |
| 130 | |
| 131 | return count; |
| 132 | } |
| 133 | |
| 134 | @Test |
| 135 | public void testSimpleFilter() throws Exception { |
no test coverage detected