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

Method testApply_double

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

applyMethod · 0.95
copyOfMethod · 0.80

Tested by

no test coverage detected