/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | BytesTest.java | 38 private static final byte[] ARRAY234 field in BytesTest 53 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); in testContains() 55 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); in testContains() 56 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); in testContains() 57 assertTrue(Bytes.contains(ARRAY234, (byte) 4)); in testContains() 63 assertEquals(-1, Bytes.indexOf(ARRAY234, (byte) 1)); in testIndexOf() 66 assertEquals(0, Bytes.indexOf(ARRAY234, (byte) 2)); in testIndexOf() 67 assertEquals(1, Bytes.indexOf(ARRAY234, (byte) 3)); in testIndexOf() 68 assertEquals(2, Bytes.indexOf(ARRAY234, (byte) 4)); in testIndexOf() 76 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | CharsTest.java | 40 private static final char[] ARRAY234 field in CharsTest 99 assertFalse(Chars.contains(ARRAY234, (char) 1)); in testContains() 101 assertTrue(Chars.contains(ARRAY234, (char) 2)); in testContains() 102 assertTrue(Chars.contains(ARRAY234, (char) 3)); in testContains() 103 assertTrue(Chars.contains(ARRAY234, (char) 4)); in testContains() 109 assertEquals(-1, Chars.indexOf(ARRAY234, (char) 1)); in testIndexOf() 112 assertEquals(0, Chars.indexOf(ARRAY234, (char) 2)); in testIndexOf() 113 assertEquals(1, Chars.indexOf(ARRAY234, (char) 3)); in testIndexOf() 114 assertEquals(2, Chars.indexOf(ARRAY234, (char) 4)); in testIndexOf() 122 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | IntsTest.java | 41 private static final int[] ARRAY234 field in IntsTest 100 assertFalse(Ints.contains(ARRAY234, (int) 1)); in testContains() 102 assertTrue(Ints.contains(ARRAY234, (int) 2)); in testContains() 103 assertTrue(Ints.contains(ARRAY234, (int) 3)); in testContains() 104 assertTrue(Ints.contains(ARRAY234, (int) 4)); in testContains() 110 assertEquals(-1, Ints.indexOf(ARRAY234, (int) 1)); in testIndexOf() 113 assertEquals(0, Ints.indexOf(ARRAY234, (int) 2)); in testIndexOf() 114 assertEquals(1, Ints.indexOf(ARRAY234, (int) 3)); in testIndexOf() 115 assertEquals(2, Ints.indexOf(ARRAY234, (int) 4)); in testIndexOf() 123 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | ShortsTest.java | 41 private static final short[] ARRAY234 field in ShortsTest 108 assertFalse(Shorts.contains(ARRAY234, (short) 1)); in testContains() 110 assertTrue(Shorts.contains(ARRAY234, (short) 2)); in testContains() 111 assertTrue(Shorts.contains(ARRAY234, (short) 3)); in testContains() 112 assertTrue(Shorts.contains(ARRAY234, (short) 4)); in testContains() 118 assertEquals(-1, Shorts.indexOf(ARRAY234, (short) 1)); in testIndexOf() 121 assertEquals(0, Shorts.indexOf(ARRAY234, (short) 2)); in testIndexOf() 122 assertEquals(1, Shorts.indexOf(ARRAY234, (short) 3)); in testIndexOf() 123 assertEquals(2, Shorts.indexOf(ARRAY234, (short) 4)); in testIndexOf() 131 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | FloatsTest.java | 43 private static final float[] ARRAY234 field in FloatsTest 84 assertFalse(Floats.contains(ARRAY234, (float) 1)); in testContains() 86 assertTrue(Floats.contains(ARRAY234, (float) 2)); in testContains() 87 assertTrue(Floats.contains(ARRAY234, (float) 3)); in testContains() 88 assertTrue(Floats.contains(ARRAY234, (float) 4)); in testContains() 99 assertEquals(-1, Floats.indexOf(ARRAY234, (float) 1)); in testIndexOf() 102 assertEquals(0, Floats.indexOf(ARRAY234, (float) 2)); in testIndexOf() 103 assertEquals(1, Floats.indexOf(ARRAY234, (float) 3)); in testIndexOf() 104 assertEquals(2, Floats.indexOf(ARRAY234, (float) 4)); in testIndexOf() 118 assertEquals(0, Floats.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | LongsTest.java | 45 private static final long[] ARRAY234 field in LongsTest 65 assertFalse(Longs.contains(ARRAY234, (long) 1)); in testContains() 67 assertTrue(Longs.contains(ARRAY234, (long) 2)); in testContains() 68 assertTrue(Longs.contains(ARRAY234, (long) 3)); in testContains() 69 assertTrue(Longs.contains(ARRAY234, (long) 4)); in testContains() 75 assertEquals(-1, Longs.indexOf(ARRAY234, (long) 1)); in testIndexOf() 78 assertEquals(0, Longs.indexOf(ARRAY234, (long) 2)); in testIndexOf() 79 assertEquals(1, Longs.indexOf(ARRAY234, (long) 3)); in testIndexOf() 80 assertEquals(2, Longs.indexOf(ARRAY234, (long) 4)); in testIndexOf() 88 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | DoublesTest.java | 44 private static final double[] ARRAY234 field in DoublesTest 86 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains() 88 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains() 89 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains() 90 assertTrue(Doubles.contains(ARRAY234, (double) 4)); in testContains() 102 assertEquals(-1, Doubles.indexOf(ARRAY234, (double) 1)); in testIndexOf() 105 assertEquals(0, Doubles.indexOf(ARRAY234, (double) 2)); in testIndexOf() 106 assertEquals(1, Doubles.indexOf(ARRAY234, (double) 3)); in testIndexOf() 107 assertEquals(2, Doubles.indexOf(ARRAY234, (double) 4)); in testIndexOf() 121 assertEquals(0, Doubles.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | BytesTest.java | 40 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 …]
|
D | CharsTest.java | 43 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 …]
|
D | ShortsTest.java | 45 private static final short[] ARRAY234 field in ShortsTest 112 assertFalse(Shorts.contains(ARRAY234, (short) 1)); in testContains() 114 assertTrue(Shorts.contains(ARRAY234, (short) 2)); in testContains() 115 assertTrue(Shorts.contains(ARRAY234, (short) 3)); in testContains() 116 assertTrue(Shorts.contains(ARRAY234, (short) 4)); in testContains() 122 assertEquals(-1, Shorts.indexOf(ARRAY234, (short) 1)); in testIndexOf() 125 assertEquals(0, Shorts.indexOf(ARRAY234, (short) 2)); in testIndexOf() 126 assertEquals(1, Shorts.indexOf(ARRAY234, (short) 3)); in testIndexOf() 127 assertEquals(2, Shorts.indexOf(ARRAY234, (short) 4)); in testIndexOf() 135 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | LongsTest.java | 49 private static final long[] ARRAY234 field in LongsTest 77 assertFalse(Longs.contains(ARRAY234, (long) 1)); in testContains() 79 assertTrue(Longs.contains(ARRAY234, (long) 2)); in testContains() 80 assertTrue(Longs.contains(ARRAY234, (long) 3)); in testContains() 81 assertTrue(Longs.contains(ARRAY234, (long) 4)); in testContains() 87 assertEquals(-1, Longs.indexOf(ARRAY234, (long) 1)); in testIndexOf() 90 assertEquals(0, Longs.indexOf(ARRAY234, (long) 2)); in testIndexOf() 91 assertEquals(1, Longs.indexOf(ARRAY234, (long) 3)); in testIndexOf() 92 assertEquals(2, Longs.indexOf(ARRAY234, (long) 4)); in testIndexOf() 100 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | IntsTest.java | 45 private static final int[] ARRAY234 field in IntsTest 104 assertFalse(Ints.contains(ARRAY234, (int) 1)); in testContains() 106 assertTrue(Ints.contains(ARRAY234, (int) 2)); in testContains() 107 assertTrue(Ints.contains(ARRAY234, (int) 3)); in testContains() 108 assertTrue(Ints.contains(ARRAY234, (int) 4)); in testContains() 114 assertEquals(-1, Ints.indexOf(ARRAY234, (int) 1)); in testIndexOf() 117 assertEquals(0, Ints.indexOf(ARRAY234, (int) 2)); in testIndexOf() 118 assertEquals(1, Ints.indexOf(ARRAY234, (int) 3)); in testIndexOf() 119 assertEquals(2, Ints.indexOf(ARRAY234, (int) 4)); in testIndexOf() 127 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | DoublesTest.java | 48 private static final double[] ARRAY234 field in DoublesTest 91 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains() 93 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains() 94 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains() 95 assertTrue(Doubles.contains(ARRAY234, (double) 4)); in testContains() 107 assertEquals(-1, Doubles.indexOf(ARRAY234, (double) 1)); in testIndexOf() 110 assertEquals(0, Doubles.indexOf(ARRAY234, (double) 2)); in testIndexOf() 111 assertEquals(1, Doubles.indexOf(ARRAY234, (double) 3)); in testIndexOf() 112 assertEquals(2, Doubles.indexOf(ARRAY234, (double) 4)); in testIndexOf() 126 assertEquals(0, Doubles.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|
D | FloatsTest.java | 48 private static final float[] ARRAY234 field in FloatsTest 90 assertFalse(Floats.contains(ARRAY234, (float) 1)); in testContains() 92 assertTrue(Floats.contains(ARRAY234, (float) 2)); in testContains() 93 assertTrue(Floats.contains(ARRAY234, (float) 3)); in testContains() 94 assertTrue(Floats.contains(ARRAY234, (float) 4)); in testContains() 105 assertEquals(-1, Floats.indexOf(ARRAY234, (float) 1)); in testIndexOf() 108 assertEquals(0, Floats.indexOf(ARRAY234, (float) 2)); in testIndexOf() 109 assertEquals(1, Floats.indexOf(ARRAY234, (float) 3)); in testIndexOf() 110 assertEquals(2, Floats.indexOf(ARRAY234, (float) 4)); in testIndexOf() 124 assertEquals(0, Floats.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget() [all …]
|