Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDoubleArrayListTest.java49 private static final DoubleArrayList TERTIARY_LIST = field in DoubleArrayListTest
104 assertEquals(1D, (double) TERTIARY_LIST.get(0)); in testGet()
105 assertEquals(2D, (double) TERTIARY_LIST.get(1)); in testGet()
106 assertEquals(3D, (double) TERTIARY_LIST.get(2)); in testGet()
109 TERTIARY_LIST.get(-1); in testGet()
116 TERTIARY_LIST.get(3); in testGet()
124 assertEquals(1D, TERTIARY_LIST.getDouble(0)); in testGetInt()
125 assertEquals(2D, TERTIARY_LIST.getDouble(1)); in testGetInt()
126 assertEquals(3D, TERTIARY_LIST.getDouble(2)); in testGetInt()
129 TERTIARY_LIST.get(-1); in testGetInt()
[all …]
DBooleanArrayListTest.java49 private static final BooleanArrayList TERTIARY_LIST = field in BooleanArrayListTest
104 assertEquals(true, (boolean) TERTIARY_LIST.get(0)); in testGet()
105 assertEquals(true, (boolean) TERTIARY_LIST.get(1)); in testGet()
106 assertEquals(false, (boolean) TERTIARY_LIST.get(2)); in testGet()
109 TERTIARY_LIST.get(-1); in testGet()
116 TERTIARY_LIST.get(3); in testGet()
124 assertEquals(true, TERTIARY_LIST.getBoolean(0)); in testGetInt()
125 assertEquals(true, TERTIARY_LIST.getBoolean(1)); in testGetInt()
126 assertEquals(false, TERTIARY_LIST.getBoolean(2)); in testGetInt()
129 TERTIARY_LIST.get(-1); in testGetInt()
[all …]
DLongArrayListTest.java49 private static final LongArrayList TERTIARY_LIST = field in LongArrayListTest
104 assertEquals(1, (long) TERTIARY_LIST.get(0)); in testGet()
105 assertEquals(2, (long) TERTIARY_LIST.get(1)); in testGet()
106 assertEquals(3, (long) TERTIARY_LIST.get(2)); in testGet()
109 TERTIARY_LIST.get(-1); in testGet()
116 TERTIARY_LIST.get(3); in testGet()
124 assertEquals(1, TERTIARY_LIST.getLong(0)); in testGetLong()
125 assertEquals(2, TERTIARY_LIST.getLong(1)); in testGetLong()
126 assertEquals(3, TERTIARY_LIST.getLong(2)); in testGetLong()
129 TERTIARY_LIST.get(-1); in testGetLong()
[all …]
DFloatArrayListTest.java49 private static final FloatArrayList TERTIARY_LIST = field in FloatArrayListTest
104 assertEquals(1F, (float) TERTIARY_LIST.get(0)); in testGet()
105 assertEquals(2F, (float) TERTIARY_LIST.get(1)); in testGet()
106 assertEquals(3F, (float) TERTIARY_LIST.get(2)); in testGet()
109 TERTIARY_LIST.get(-1); in testGet()
116 TERTIARY_LIST.get(3); in testGet()
124 assertEquals(1F, TERTIARY_LIST.getFloat(0)); in testGetFloat()
125 assertEquals(2F, TERTIARY_LIST.getFloat(1)); in testGetFloat()
126 assertEquals(3F, TERTIARY_LIST.getFloat(2)); in testGetFloat()
129 TERTIARY_LIST.get(-1); in testGetFloat()
[all …]
DIntArrayListTest.java49 private static final IntArrayList TERTIARY_LIST = field in IntArrayListTest
104 assertEquals(1, (int) TERTIARY_LIST.get(0)); in testGet()
105 assertEquals(2, (int) TERTIARY_LIST.get(1)); in testGet()
106 assertEquals(3, (int) TERTIARY_LIST.get(2)); in testGet()
109 TERTIARY_LIST.get(-1); in testGet()
116 TERTIARY_LIST.get(3); in testGet()
124 assertEquals(1, TERTIARY_LIST.getInt(0)); in testGetInt()
125 assertEquals(2, TERTIARY_LIST.getInt(1)); in testGetInt()
126 assertEquals(3, TERTIARY_LIST.getInt(2)); in testGetInt()
129 TERTIARY_LIST.get(-1); in testGetInt()
[all …]
DProtobufArrayListTest.java48 private static final ProtobufArrayList<Integer> TERTIARY_LIST = field in ProtobufArrayListTest