/external/guava/guava-tests/test/com/google/common/primitives/ |
SignedBytesTest.java | 43 private static final byte GREATEST = Byte.MAX_VALUE; 46 {LEAST, -1, 0, 1, GREATEST}; 52 assertCastFails(GREATEST + 1L); 62 assertEquals(GREATEST, SignedBytes.saturatedCast(GREATEST + 1L)); 64 assertEquals(GREATEST, SignedBytes.saturatedCast(Long.MAX_VALUE)); 107 assertEquals(GREATEST, SignedBytes.max(GREATEST)); 122 assertEquals(GREATEST, SignedBytes.min(GREATEST)); [all...] |
UnsignedBytesTest.java | 36 private static final byte GREATEST = (byte) 255; 40 {LEAST, 127, (byte) 128, (byte) 129, GREATEST}; 67 assertEquals(GREATEST, UnsignedBytes.saturatedCast(256L)); 69 assertEquals(GREATEST, UnsignedBytes.saturatedCast(Long.MAX_VALUE)); 108 assertEquals(GREATEST, UnsignedBytes.max(GREATEST)); 123 assertEquals(GREATEST, UnsignedBytes.min(GREATEST)); 152 new byte[] {GREATEST, GREATEST - (byte) 1} [all...] |
CharsTest.java | 47 private static final char GREATEST = Character.MAX_VALUE; 50 {LEAST, 'a', '\u00e0', '\udcaa', GREATEST}; 62 assertCastFails(GREATEST + 1L); 72 assertEquals(GREATEST, Chars.saturatedCast(GREATEST + 1L)); 74 assertEquals(GREATEST, Chars.saturatedCast(Long.MAX_VALUE)); 181 assertEquals(GREATEST, Chars.max(GREATEST)); 197 assertEquals(GREATEST, Chars.min(GREATEST)); [all...] |
DoublesTest.java | 50 private static final double GREATEST = Double.POSITIVE_INFINITY; 53 LEAST, -Double.MAX_VALUE, -1.0, -0.0, 0.0, 1.0, Double.MAX_VALUE, GREATEST, 191 assertEquals(GREATEST, Doubles.max(GREATEST)); 198 assertEquals(GREATEST, Doubles.max(NUMBERS)); 212 assertEquals(GREATEST, Doubles.min(GREATEST)); 285 new double[] {GREATEST, Double.MAX_VALUE}, 286 new double[] {GREATEST, GREATEST}, [all...] |
FloatsTest.java | 50 private static final float GREATEST = Float.POSITIVE_INFINITY; 53 LEAST, -Float.MAX_VALUE, -1f, -0f, 0f, 1f, Float.MAX_VALUE, GREATEST, 189 assertEquals(GREATEST, Floats.max(GREATEST)); 197 assertEquals(GREATEST, Floats.max(NUMBERS)); 211 assertEquals(GREATEST, Floats.min(GREATEST)); 277 new float[] {GREATEST, Float.MAX_VALUE}, 278 new float[] {GREATEST, GREATEST}, [all...] |
IntsTest.java | 48 private static final int GREATEST = Integer.MAX_VALUE; 51 { LEAST, (int) -1, (int) 0, (int) 1, GREATEST }; 63 assertCastFails(GREATEST + 1L); 73 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); 75 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); 182 assertEquals(GREATEST, Ints.max(GREATEST)); 198 assertEquals(GREATEST, Ints.min(GREATEST)); [all...] |
LongsTest.java | 48 private static final long GREATEST = Long.MAX_VALUE; 51 { LEAST, (long) -1, (long) 0, (long) 1, GREATEST }; 154 assertEquals(GREATEST, Longs.max(GREATEST)); 170 assertEquals(GREATEST, Longs.min(GREATEST)); 284 new long[] {GREATEST, GREATEST - (long) 1}, 285 new long[] {GREATEST, GREATEST}, [all...] |
ShortsTest.java | 48 private static final short GREATEST = Short.MAX_VALUE; 51 { LEAST, (short) -1, (short) 0, (short) 1, GREATEST }; 63 assertCastFails(GREATEST + 1L); 73 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L)); 75 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE)); 190 assertEquals(GREATEST, Shorts.max(GREATEST)); 206 assertEquals(GREATEST, Shorts.min(GREATEST)); [all...] |
/external/robolectric/lib/main/ |
h2-1.2.147.jar | |
/prebuilts/misc/common/tradefed/ |
tradefed-prebuilt.jar | |