()
| 89 | } |
| 90 | |
| 91 | @Test |
| 92 | public void testApply_double() |
| 93 | { |
| 94 | IndexTable idt = new IndexTable(array); |
| 95 | double[] test = Arrays.copyOf(array, array.length); |
| 96 | idt.apply(test); |
| 97 | for(int i = 0; i < test.length-1; i++) |
| 98 | assertTrue(test[i] <= test[i+1]); |
| 99 | } |
| 100 | |
| 101 | @Test |
| 102 | public void testApply_List() |