()
| 195 | |
| 196 | |
| 197 | @Test |
| 198 | public void testOperator() throws ExecException, IOException { |
| 199 | byte[] types = DataType.genAllTypes(); |
| 200 | for (byte b : types) { |
| 201 | if (b == DataType.GENERIC_WRITABLECOMPARABLE) { |
| 202 | // genericwritablecomparable is only used in |
| 203 | // merge join which we will not test here |
| 204 | continue; |
| 205 | } |
| 206 | System.out.println("Type " + DataType.findTypeName(b)); |
| 207 | int NUM_TRIALS = 10; |
| 208 | boolean[] inner1 = { false, false }; |
| 209 | for (int i = 0; i < NUM_TRIALS; i++) |
| 210 | pickTest(b, inner1); |
| 211 | |
| 212 | boolean[] inner2 = { true, false }; |
| 213 | for (int i = 0; i < NUM_TRIALS; i++) |
| 214 | pickTest(b, inner2); |
| 215 | /* |
| 216 | * if (succ) |
| 217 | * System.out.println("Success!!"); |
| 218 | * else |
| 219 | * System.out.println("Failure"); |
| 220 | */ |
| 221 | } |
| 222 | } |
| 223 | } |
nothing calls this directly
no test coverage detected