Searched refs:specials (Results 1 – 2 of 2) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | Arrays2Test.java | 36 double[] specials = new double[] { Double.NEGATIVE_INFINITY, in test_binarySearch$DD() local 41 for (int i = 0; i < specials.length; i++) { in test_binarySearch$DD() 42 int result = Arrays.binarySearch(specials, specials[i]); in test_binarySearch$DD() 43 assertTrue("Assert 0: " + specials[i] + " invalid: " + result, in test_binarySearch$DD() 47 -4, Arrays.binarySearch(specials, -1d)); in test_binarySearch$DD() 49 -8, Arrays.binarySearch(specials, 1d)); in test_binarySearch$DD() 56 float[] specials = new float[] { Float.NEGATIVE_INFINITY, in test_binarySearch$FF() local 61 for (int i = 0; i < specials.length; i++) { in test_binarySearch$FF() 62 int result = Arrays.binarySearch(specials, specials[i]); in test_binarySearch$FF() 63 assertTrue("Assert 0: " + specials[i] + " invalid: " + result, in test_binarySearch$FF() [all …]
|
D | ArraysTest.java | 162 double[] specials = new double[] { Double.NEGATIVE_INFINITY, in test_binarySearch$DD() local 166 for (int i = 0; i < specials.length; i++) { in test_binarySearch$DD() 167 int result = Arrays.binarySearch(specials, specials[i]); in test_binarySearch$DD() 168 assertTrue(specials[i] + " invalid: " + result, result == i); in test_binarySearch$DD() 170 assertEquals("-1d", -4, Arrays.binarySearch(specials, -1d)); in test_binarySearch$DD() 171 assertEquals("1d", -8, Arrays.binarySearch(specials, 1d)); in test_binarySearch$DD() 196 float[] specials = new float[] { Float.NEGATIVE_INFINITY, in test_binarySearch$FF() local 200 for (int i = 0; i < specials.length; i++) { in test_binarySearch$FF() 201 int result = Arrays.binarySearch(specials, specials[i]); in test_binarySearch$FF() 202 assertTrue(specials[i] + " invalid: " + result, result == i); in test_binarySearch$FF() [all …]
|