Home
last modified time | relevance | path

Searched refs:ARRAY234 (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java40 private static final byte[] ARRAY234 field in BytesTest
55 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); in testContains()
57 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); in testContains()
58 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); in testContains()
59 assertTrue(Bytes.contains(ARRAY234, (byte) 4)); in testContains()
65 assertEquals(-1, Bytes.indexOf(ARRAY234, (byte) 1)); in testIndexOf()
68 assertEquals(0, Bytes.indexOf(ARRAY234, (byte) 2)); in testIndexOf()
69 assertEquals(1, Bytes.indexOf(ARRAY234, (byte) 3)); in testIndexOf()
70 assertEquals(2, Bytes.indexOf(ARRAY234, (byte) 4)); in testIndexOf()
78 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DLongsTest.java44 private static final long[] ARRAY234 field in LongsTest
75 assertFalse(Longs.contains(ARRAY234, (long) 1)); in testContains()
77 assertTrue(Longs.contains(ARRAY234, (long) 2)); in testContains()
78 assertTrue(Longs.contains(ARRAY234, (long) 3)); in testContains()
79 assertTrue(Longs.contains(ARRAY234, (long) 4)); in testContains()
85 assertEquals(-1, Longs.indexOf(ARRAY234, (long) 1)); in testIndexOf()
88 assertEquals(0, Longs.indexOf(ARRAY234, (long) 2)); in testIndexOf()
89 assertEquals(1, Longs.indexOf(ARRAY234, (long) 3)); in testIndexOf()
90 assertEquals(2, Longs.indexOf(ARRAY234, (long) 4)); in testIndexOf()
98 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DDoublesTest.java46 private static final double[] ARRAY234 field in DoublesTest
87 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains()
89 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains()
90 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains()
91 assertTrue(Doubles.contains(ARRAY234, (double) 4)); in testContains()
103 assertEquals(-1, Doubles.indexOf(ARRAY234, (double) 1)); in testIndexOf()
106 assertEquals(0, Doubles.indexOf(ARRAY234, (double) 2)); in testIndexOf()
107 assertEquals(1, Doubles.indexOf(ARRAY234, (double) 3)); in testIndexOf()
108 assertEquals(2, Doubles.indexOf(ARRAY234, (double) 4)); in testIndexOf()
122 assertEquals(0, Doubles.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DCharsTest.java43 private static final char[] ARRAY234 field in CharsTest
102 assertFalse(Chars.contains(ARRAY234, (char) 1)); in testContains()
104 assertTrue(Chars.contains(ARRAY234, (char) 2)); in testContains()
105 assertTrue(Chars.contains(ARRAY234, (char) 3)); in testContains()
106 assertTrue(Chars.contains(ARRAY234, (char) 4)); in testContains()
112 assertEquals(-1, Chars.indexOf(ARRAY234, (char) 1)); in testIndexOf()
115 assertEquals(0, Chars.indexOf(ARRAY234, (char) 2)); in testIndexOf()
116 assertEquals(1, Chars.indexOf(ARRAY234, (char) 3)); in testIndexOf()
117 assertEquals(2, Chars.indexOf(ARRAY234, (char) 4)); in testIndexOf()
125 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DShortsTest.java44 private static final short[] ARRAY234 field in ShortsTest
111 assertFalse(Shorts.contains(ARRAY234, (short) 1)); in testContains()
113 assertTrue(Shorts.contains(ARRAY234, (short) 2)); in testContains()
114 assertTrue(Shorts.contains(ARRAY234, (short) 3)); in testContains()
115 assertTrue(Shorts.contains(ARRAY234, (short) 4)); in testContains()
121 assertEquals(-1, Shorts.indexOf(ARRAY234, (short) 1)); in testIndexOf()
124 assertEquals(0, Shorts.indexOf(ARRAY234, (short) 2)); in testIndexOf()
125 assertEquals(1, Shorts.indexOf(ARRAY234, (short) 3)); in testIndexOf()
126 assertEquals(2, Shorts.indexOf(ARRAY234, (short) 4)); in testIndexOf()
134 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DFloatsTest.java46 private static final float[] ARRAY234 field in FloatsTest
87 assertFalse(Floats.contains(ARRAY234, (float) 1)); in testContains()
89 assertTrue(Floats.contains(ARRAY234, (float) 2)); in testContains()
90 assertTrue(Floats.contains(ARRAY234, (float) 3)); in testContains()
91 assertTrue(Floats.contains(ARRAY234, (float) 4)); in testContains()
102 assertEquals(-1, Floats.indexOf(ARRAY234, (float) 1)); in testIndexOf()
105 assertEquals(0, Floats.indexOf(ARRAY234, (float) 2)); in testIndexOf()
106 assertEquals(1, Floats.indexOf(ARRAY234, (float) 3)); in testIndexOf()
107 assertEquals(2, Floats.indexOf(ARRAY234, (float) 4)); in testIndexOf()
121 assertEquals(0, Floats.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DIntsTest.java44 private static final int[] ARRAY234 field in IntsTest
103 assertFalse(Ints.contains(ARRAY234, (int) 1)); in testContains()
105 assertTrue(Ints.contains(ARRAY234, (int) 2)); in testContains()
106 assertTrue(Ints.contains(ARRAY234, (int) 3)); in testContains()
107 assertTrue(Ints.contains(ARRAY234, (int) 4)); in testContains()
113 assertEquals(-1, Ints.indexOf(ARRAY234, (int) 1)); in testIndexOf()
116 assertEquals(0, Ints.indexOf(ARRAY234, (int) 2)); in testIndexOf()
117 assertEquals(1, Ints.indexOf(ARRAY234, (int) 3)); in testIndexOf()
118 assertEquals(2, Ints.indexOf(ARRAY234, (int) 4)); in testIndexOf()
126 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]