Home
last modified time | relevance | path

Searched refs:TERTIARY_LIST (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DFloatArrayListTest.java50 private static final FloatArrayList TERTIARY_LIST = field in FloatArrayListTest
105 assertEquals(1F, (float) TERTIARY_LIST.get(0)); in testGet()
106 assertEquals(2F, (float) TERTIARY_LIST.get(1)); in testGet()
107 assertEquals(3F, (float) TERTIARY_LIST.get(2)); in testGet()
110 TERTIARY_LIST.get(-1); in testGet()
117 TERTIARY_LIST.get(3); in testGet()
125 assertEquals(1F, TERTIARY_LIST.getFloat(0)); in testGetFloat()
126 assertEquals(2F, TERTIARY_LIST.getFloat(1)); in testGetFloat()
127 assertEquals(3F, TERTIARY_LIST.getFloat(2)); in testGetFloat()
130 TERTIARY_LIST.get(-1); in testGetFloat()
[all …]
DLongArrayListTest.java50 private static final LongArrayList TERTIARY_LIST = field in LongArrayListTest
105 assertEquals(1L, (long) TERTIARY_LIST.get(0)); in testGet()
106 assertEquals(2L, (long) TERTIARY_LIST.get(1)); in testGet()
107 assertEquals(3L, (long) TERTIARY_LIST.get(2)); in testGet()
110 TERTIARY_LIST.get(-1); in testGet()
117 TERTIARY_LIST.get(3); in testGet()
125 assertEquals(1L, TERTIARY_LIST.getLong(0)); in testGetLong()
126 assertEquals(2L, TERTIARY_LIST.getLong(1)); in testGetLong()
127 assertEquals(3L, TERTIARY_LIST.getLong(2)); in testGetLong()
130 TERTIARY_LIST.get(-1); in testGetLong()
[all …]
DIntArrayListTest.java50 private static final IntArrayList TERTIARY_LIST = field in IntArrayListTest
105 assertEquals(1, (int) TERTIARY_LIST.get(0)); in testGet()
106 assertEquals(2, (int) TERTIARY_LIST.get(1)); in testGet()
107 assertEquals(3, (int) TERTIARY_LIST.get(2)); in testGet()
110 TERTIARY_LIST.get(-1); in testGet()
117 TERTIARY_LIST.get(3); in testGet()
125 assertEquals(1, TERTIARY_LIST.getInt(0)); in testGetInt()
126 assertEquals(2, TERTIARY_LIST.getInt(1)); in testGetInt()
127 assertEquals(3, TERTIARY_LIST.getInt(2)); in testGetInt()
130 TERTIARY_LIST.get(-1); in testGetInt()
[all …]
DBooleanArrayListTest.java50 private static final BooleanArrayList TERTIARY_LIST = field in BooleanArrayListTest
105 assertEquals(true, (boolean) TERTIARY_LIST.get(0)); in testGet()
106 assertEquals(false, (boolean) TERTIARY_LIST.get(1)); in testGet()
107 assertEquals(true, (boolean) TERTIARY_LIST.get(2)); in testGet()
110 TERTIARY_LIST.get(-1); in testGet()
117 TERTIARY_LIST.get(3); in testGet()
125 assertEquals(true, TERTIARY_LIST.getBoolean(0)); in testGetBoolean()
126 assertEquals(false, TERTIARY_LIST.getBoolean(1)); in testGetBoolean()
127 assertEquals(true, TERTIARY_LIST.getBoolean(2)); in testGetBoolean()
130 TERTIARY_LIST.get(-1); in testGetBoolean()
[all …]
DDoubleArrayListTest.java50 private static final DoubleArrayList TERTIARY_LIST = field in DoubleArrayListTest
105 assertEquals(1D, (double) TERTIARY_LIST.get(0)); in testGet()
106 assertEquals(2D, (double) TERTIARY_LIST.get(1)); in testGet()
107 assertEquals(3D, (double) TERTIARY_LIST.get(2)); in testGet()
110 TERTIARY_LIST.get(-1); in testGet()
117 TERTIARY_LIST.get(3); in testGet()
125 assertEquals(1D, TERTIARY_LIST.getDouble(0)); in testGetDouble()
126 assertEquals(2D, TERTIARY_LIST.getDouble(1)); in testGetDouble()
127 assertEquals(3D, TERTIARY_LIST.getDouble(2)); in testGetDouble()
130 TERTIARY_LIST.get(-1); in testGetDouble()
[all …]
DProtobufArrayListTest.java48 private static final ProtobufArrayList<Integer> TERTIARY_LIST = field in ProtobufArrayListTest