Home
last modified time | relevance | path

Searched refs:GREATEST (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DSignedBytesTest.java40 private static final byte GREATEST = Byte.MAX_VALUE; field in SignedBytesTest
43 {LEAST, -1, 0, 1, GREATEST};
49 assertCastFails(GREATEST + 1L); in testCheckedCast()
59 assertEquals(GREATEST, SignedBytes.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
61 assertEquals(GREATEST, SignedBytes.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
104 assertEquals(GREATEST, SignedBytes.max(GREATEST)); in testMax()
119 assertEquals(GREATEST, SignedBytes.min(GREATEST)); in testMin()
140 new byte[] {GREATEST, GREATEST - (byte) 1}, in testLexicographicalComparator()
141 new byte[] {GREATEST, GREATEST}, in testLexicographicalComparator()
142 new byte[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DUnsignedIntsTest.java47 private static final int GREATEST = (int) 0xffffffffL; field in UnsignedIntsTest
75 assertEquals(GREATEST, UnsignedInts.max(GREATEST)); in testMax()
92 assertEquals(GREATEST, UnsignedInts.min(GREATEST)); in testMin()
107 new int[] {GREATEST, (GREATEST - (int) 1L)}, in testLexicographicalComparator()
108 new int[] {GREATEST, GREATEST}, in testLexicographicalComparator()
109 new int[] {GREATEST, GREATEST, GREATEST} in testLexicographicalComparator()
DUnsignedLongsTest.java38 private static final long GREATEST = 0xffffffffffffffffL; field in UnsignedLongsTest
71 assertEquals(GREATEST, UnsignedLongs.max(GREATEST)); in testMax()
87 assertEquals(GREATEST, UnsignedLongs.min(GREATEST)); in testMin()
101 new long[] {GREATEST, GREATEST - (long) 1}, in testLexicographicalComparator()
102 new long[] {GREATEST, GREATEST}, in testLexicographicalComparator()
103 new long[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DCharsTest.java44 private static final char GREATEST = Character.MAX_VALUE; field in CharsTest
47 {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
59 assertCastFails(GREATEST + 1L); in testCheckedCast()
69 assertEquals(GREATEST, Chars.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
71 assertEquals(GREATEST, Chars.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
178 assertEquals(GREATEST, Chars.max(GREATEST)); in testMax()
194 assertEquals(GREATEST, Chars.min(GREATEST)); in testMin()
253 new char[] {GREATEST, GREATEST - (char) 1}, in testLexicographicalComparator()
254 new char[] {GREATEST, GREATEST}, in testLexicographicalComparator()
255 new char[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DIntsTest.java45 private static final int GREATEST = Integer.MAX_VALUE; field in IntsTest
48 { LEAST, (int) -1, (int) 0, (int) 1, GREATEST };
60 assertCastFails(GREATEST + 1L); in testCheckedCast()
70 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
72 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
179 assertEquals(GREATEST, Ints.max(GREATEST)); in testMax()
195 assertEquals(GREATEST, Ints.min(GREATEST)); in testMin()
255 new int[] {GREATEST, GREATEST - (int) 1}, in testLexicographicalComparator()
256 new int[] {GREATEST, GREATEST}, in testLexicographicalComparator()
257 new int[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
[all …]
DShortsTest.java45 private static final short GREATEST = Short.MAX_VALUE; field in ShortsTest
48 { LEAST, (short) -1, (short) 0, (short) 1, GREATEST };
60 assertCastFails(GREATEST + 1L); in testCheckedCast()
70 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
72 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
187 assertEquals(GREATEST, Shorts.max(GREATEST)); in testMax()
203 assertEquals(GREATEST, Shorts.min(GREATEST)); in testMin()
263 new short[] {GREATEST, GREATEST - (short) 1}, in testLexicographicalComparator()
264 new short[] {GREATEST, GREATEST}, in testLexicographicalComparator()
265 new short[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DFloatsTest.java47 private static final float GREATEST = Float.POSITIVE_INFINITY; field in FloatsTest
50 LEAST, -Float.MAX_VALUE, -1f, -0f, 0f, 1f, Float.MAX_VALUE, GREATEST,
186 assertEquals(GREATEST, Floats.max(GREATEST)); in testMax()
194 assertEquals(GREATEST, Floats.max(NUMBERS)); in testMax()
208 assertEquals(GREATEST, Floats.min(GREATEST)); in testMin()
265 new float[] {GREATEST, Float.MAX_VALUE}, in testLexicographicalComparator()
266 new float[] {GREATEST, GREATEST}, in testLexicographicalComparator()
267 new float[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DDoublesTest.java48 private static final double GREATEST = Double.POSITIVE_INFINITY; field in DoublesTest
52 Double.MAX_VALUE, GREATEST, Double.MIN_NORMAL, -Double.MIN_NORMAL,
190 assertEquals(GREATEST, Doubles.max(GREATEST)); in testMax()
197 assertEquals(GREATEST, Doubles.max(NUMBERS)); in testMax()
211 assertEquals(GREATEST, Doubles.min(GREATEST)); in testMin()
275 new double[] {GREATEST, Double.MAX_VALUE}, in testLexicographicalComparator()
276 new double[] {GREATEST, GREATEST}, in testLexicographicalComparator()
277 new double[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
/external/guava/guava-tests/test/com/google/common/primitives/
DSignedBytesTest.java43 private static final byte GREATEST = Byte.MAX_VALUE; field in SignedBytesTest
46 {LEAST, -1, 0, 1, GREATEST};
52 assertCastFails(GREATEST + 1L); in testCheckedCast()
62 assertEquals(GREATEST, SignedBytes.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
64 assertEquals(GREATEST, SignedBytes.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
107 assertEquals(GREATEST, SignedBytes.max(GREATEST)); in testMax()
122 assertEquals(GREATEST, SignedBytes.min(GREATEST)); in testMin()
143 new byte[] {GREATEST, GREATEST - (byte) 1}, in testLexicographicalComparator()
144 new byte[] {GREATEST, GREATEST}, in testLexicographicalComparator()
145 new byte[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DUnsignedBytesTest.java37 private static final byte GREATEST = (byte) 255; field in UnsignedBytesTest
41 {LEAST, 127, (byte) 128, (byte) 129, GREATEST};
68 assertEquals(GREATEST, UnsignedBytes.saturatedCast(256L)); in testSaturatedCast()
70 assertEquals(GREATEST, UnsignedBytes.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
109 assertEquals(GREATEST, UnsignedBytes.max(GREATEST)); in testMax()
124 assertEquals(GREATEST, UnsignedBytes.min(GREATEST)); in testMin()
242 new byte[] {GREATEST, GREATEST - (byte) 1}, in testLexicographicalComparator()
243 new byte[] {GREATEST, GREATEST}, in testLexicographicalComparator()
244 new byte[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DUnsignedIntsTest.java50 private static final int GREATEST = (int) 0xffffffffL; field in UnsignedIntsTest
78 assertEquals(GREATEST, UnsignedInts.max(GREATEST)); in testMax()
95 assertEquals(GREATEST, UnsignedInts.min(GREATEST)); in testMin()
110 new int[] {GREATEST, (GREATEST - (int) 1L)}, in testLexicographicalComparator()
111 new int[] {GREATEST, GREATEST}, in testLexicographicalComparator()
112 new int[] {GREATEST, GREATEST, GREATEST} in testLexicographicalComparator()
DUnsignedLongsTest.java41 private static final long GREATEST = 0xffffffffffffffffL; field in UnsignedLongsTest
74 assertEquals(GREATEST, UnsignedLongs.max(GREATEST)); in testMax()
90 assertEquals(GREATEST, UnsignedLongs.min(GREATEST)); in testMin()
104 new long[] {GREATEST, GREATEST - (long) 1}, in testLexicographicalComparator()
105 new long[] {GREATEST, GREATEST}, in testLexicographicalComparator()
106 new long[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DCharsTest.java47 private static final char GREATEST = Character.MAX_VALUE; field in CharsTest
50 {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
62 assertCastFails(GREATEST + 1L); in testCheckedCast()
72 assertEquals(GREATEST, Chars.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
74 assertEquals(GREATEST, Chars.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
181 assertEquals(GREATEST, Chars.max(GREATEST)); in testMax()
197 assertEquals(GREATEST, Chars.min(GREATEST)); in testMin()
301 new char[] {GREATEST, GREATEST - (char) 1}, in testLexicographicalComparator()
302 new char[] {GREATEST, GREATEST}, in testLexicographicalComparator()
303 new char[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DIntsTest.java49 private static final int GREATEST = Integer.MAX_VALUE; field in IntsTest
52 { LEAST, (int) -1, (int) 0, (int) 1, GREATEST };
64 assertCastFails(GREATEST + 1L); in testCheckedCast()
74 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
76 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
183 assertEquals(GREATEST, Ints.max(GREATEST)); in testMax()
199 assertEquals(GREATEST, Ints.min(GREATEST)); in testMin()
305 new int[] {GREATEST, GREATEST - (int) 1}, in testLexicographicalComparator()
306 new int[] {GREATEST, GREATEST}, in testLexicographicalComparator()
307 new int[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
[all …]
DShortsTest.java49 private static final short GREATEST = Short.MAX_VALUE; field in ShortsTest
52 { LEAST, (short) -1, (short) 0, (short) 1, GREATEST };
64 assertCastFails(GREATEST + 1L); in testCheckedCast()
74 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L)); in testSaturatedCast()
76 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast()
191 assertEquals(GREATEST, Shorts.max(GREATEST)); in testMax()
207 assertEquals(GREATEST, Shorts.min(GREATEST)); in testMin()
312 new short[] {GREATEST, GREATEST - (short) 1}, in testLexicographicalComparator()
313 new short[] {GREATEST, GREATEST}, in testLexicographicalComparator()
314 new short[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DDoublesTest.java52 private static final double GREATEST = Double.POSITIVE_INFINITY; field in DoublesTest
56 Double.MAX_VALUE, GREATEST, Double.MIN_NORMAL, -Double.MIN_NORMAL,
194 assertEquals(GREATEST, Doubles.max(GREATEST)); in testMax()
201 assertEquals(GREATEST, Doubles.max(NUMBERS)); in testMax()
215 assertEquals(GREATEST, Doubles.min(GREATEST)); in testMin()
288 new double[] {GREATEST, Double.MAX_VALUE}, in testLexicographicalComparator()
289 new double[] {GREATEST, GREATEST}, in testLexicographicalComparator()
290 new double[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
DFloatsTest.java52 private static final float GREATEST = Float.POSITIVE_INFINITY; field in FloatsTest
55 LEAST, -Float.MAX_VALUE, -1f, -0f, 0f, 1f, Float.MAX_VALUE, GREATEST,
191 assertEquals(GREATEST, Floats.max(GREATEST)); in testMax()
199 assertEquals(GREATEST, Floats.max(NUMBERS)); in testMax()
213 assertEquals(GREATEST, Floats.min(GREATEST)); in testMin()
279 new float[] {GREATEST, Float.MAX_VALUE}, in testLexicographicalComparator()
280 new float[] {GREATEST, GREATEST}, in testLexicographicalComparator()
281 new float[] {GREATEST, GREATEST, GREATEST}); in testLexicographicalComparator()
/external/robolectric/v1/lib/main/
Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org ...