OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:expectedIndex
(Results
1 - 8
of
8
) sorted by null
/external/smali/util/src/test/java/org/jf/util/
LinearSearchTest.java
97
int
expectedIndex
= Ordering.natural().binarySearch(list, key);
99
Assert.assertEquals(
expectedIndex
, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), key, guess));
/packages/inputmethods/LatinIME/native/jni/tests/utils/
int_array_view_test.cpp
39
size_t
expectedIndex
= 0;
41
EXPECT_EQ(intVector[
expectedIndex
], element);
42
++
expectedIndex
;
44
EXPECT_EQ(
expectedIndex
, intArrayView.size());
/external/icu/icu4c/source/test/cintltst/
utf16tst.c
351
int32_t i0, i=0, j, k,
expectedIndex
;
369
expectedIndex
= (c==0) ? i-1 : i;
372
if(k!=
expectedIndex
) {
373
log_err("U16_FWD_N(code points from 0) moved to index %d but expected %d\n", k,
expectedIndex
);
utf8tst.c
414
int32_t i0, i=0, j, k,
expectedIndex
;
442
expectedIndex
= (c==0) ? i-1 : i;
445
if(k!=
expectedIndex
) {
446
log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k,
expectedIndex
);
[
all
...]
/external/icu/icu4c/source/test/intltest/
utxttest.cpp
603
int64_t
expectedIndex
= 0;
610
expectedIndex
= cpMap[i].nativeIdx;
612
TEST_ASSERT(
expectedIndex
== foundIndex);
617
TEST_ASSERT(
expectedIndex
== foundIndex);
628
expectedIndex
= cpMap[i].nativeIdx;
630
TEST_ASSERT(
expectedIndex
== foundIndex);
656
expectedIndex
= cpMap[i].nativeIdx;
660
TEST_ASSERT(
expectedIndex
== foundIndex);
690
expectedIndex
= cpMap[i].nativeIdx;
693
TEST_ASSERT(
expectedIndex
== foundIndex)
[
all
...]
rbbitst.cpp
225
int32_t
expectedIndex
= 0;
231
if (
expectedIndex
>= fExpectedBreakPositions.size() &&
237
if (
expectedIndex
>= fExpectedBreakPositions.size()) {
238
err(heading, test,
expectedIndex
-1, actualIndex);
244
err(heading, test,
expectedIndex
, actualIndex-1);
245
expectedIndex
++;
249
if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(
expectedIndex
)) {
250
err(heading, test,
expectedIndex
, actualIndex);
252
if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(
expectedIndex
)) {
255
expectedIndex
++
[
all
...]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
MultimapsTest.java
647
final Multimap<Integer, String>
expectedIndex
=
669
assertEquals(
expectedIndex
, index);
/external/guava/guava-tests/test/com/google/common/collect/
MultimapsTest.java
789
final Multimap<Integer, String>
expectedIndex
=
811
assertEquals(
expectedIndex
, index);
[
all
...]
Completed in 904 milliseconds