MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / testSortG

Method testSortG

JSAT/test/jsat/utils/IndexTableTest.java:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 3

lengthMethod · 0.95
indexMethod · 0.95
compareToMethod · 0.45

Tested by

no test coverage detected