Searched refs:expectedIndex (Results 1 - 10 of 10) sorted by relevance

/external/adhd/cras/src/tests/
H A Darray_unittest.cc95 int expectedIndex = 0; local
98 EXPECT_EQ(expectedIndex, i);
100 expectedIndex++;
103 EXPECT_EQ(expectedIndex, 100);
/external/smali/util/src/test/java/org/jf/util/
H A DLinearSearchTest.java97 int expectedIndex = Ordering.natural().binarySearch(list, key);
99 Assert.assertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), key, guess));
/external/icu/icu4c/source/test/intltest/
H A Dutxttest.cpp602 int64_t expectedIndex = 0; local
609 expectedIndex = cpMap[i].nativeIdx;
611 TEST_ASSERT(expectedIndex == foundIndex);
616 TEST_ASSERT(expectedIndex == foundIndex);
627 expectedIndex = cpMap[i].nativeIdx;
629 TEST_ASSERT(expectedIndex == foundIndex);
655 expectedIndex = cpMap[i].nativeIdx;
659 TEST_ASSERT(expectedIndex == foundIndex);
689 expectedIndex = cpMap[i].nativeIdx;
692 TEST_ASSERT(expectedIndex
[all...]
H A Drbbitst.cpp177 int32_t expectedIndex = 0; local
183 if (expectedIndex >= fExpectedBreakPositions.size() &&
189 if (expectedIndex >= fExpectedBreakPositions.size()) {
190 err(heading, test, expectedIndex-1, actualIndex);
196 err(heading, test, expectedIndex, actualIndex-1);
197 expectedIndex++;
201 if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) {
202 err(heading, test, expectedIndex, actualIndex);
204 if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) {
207 expectedIndex
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dutf16tst.c420 int32_t i0, i=0, j, k, expectedIndex; local
448 expectedIndex= (c==0) ? i-1 : i;
451 if(k!=expectedIndex) {
452 log_err("U16_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex);
H A Dutf8tst.c483 int32_t i0, i=0, j, k, expectedIndex; local
511 expectedIndex= (c==0) ? i-1 : i;
514 if(k!=expectedIndex) {
515 log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DMultimapsTest.java647 final Multimap<Integer, String> expectedIndex =
669 assertEquals(expectedIndex, index);
/external/guava/guava-tests/test/com/google/common/collect/
H A DMultimapsTest.java789 final Multimap<Integer, String> expectedIndex =
811 assertEquals(expectedIndex, index);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTest.java489 int expectedIndex = (Integer) cas[1];
493 assertEquals("Failed on index: '" + input + "'", expectedIndex, ppos.getIndex());
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java486 int expectedIndex = (Integer) cas[1];
490 assertEquals("Failed on index: '" + input + "'", expectedIndex, ppos.getIndex());

Completed in 569 milliseconds