()
| 58 | } |
| 59 | |
| 60 | @Test |
| 61 | public void testSortG() |
| 62 | { |
| 63 | IndexTable idt = new IndexTable(arrayD); |
| 64 | for(int i = 0; i < idt.length()-1; i++) |
| 65 | assertTrue(arrayD[idt.index(i)].compareTo(arrayD[idt.index(i+1)]) <= 0); |
| 66 | } |
| 67 | |
| 68 | @Test |
| 69 | public void testSortList() |