Home
last modified time | relevance | path

Searched refs:LEAST (Results 1 – 19 of 19) sorted by relevance

/external/guava/guava-tests/test/com/google/common/primitives/
DSignedBytesTest.java40 private static final byte LEAST = Byte.MIN_VALUE; field in SignedBytesTest
43 private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
50 assertCastFails(LEAST - 1L); in testCheckedCast()
60 assertEquals(LEAST, SignedBytes.saturatedCast(LEAST - 1L)); in testSaturatedCast()
62 assertEquals(LEAST, SignedBytes.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
104 assertEquals(LEAST, SignedBytes.max(LEAST)); in testMax()
119 assertEquals(LEAST, SignedBytes.min(LEAST)); in testMin()
137 new byte[] {LEAST}, in testLexicographicalComparator()
138 new byte[] {LEAST, LEAST}, in testLexicographicalComparator()
139 new byte[] {LEAST, (byte) 1}, in testLexicographicalComparator()
[all …]
DUnsignedIntsTest.java50 private static final int LEAST = (int) 0L; field in UnsignedIntsTest
77 assertEquals(LEAST, UnsignedInts.saturatedCast(-1L)); in testSaturatedCast()
79 assertEquals(LEAST, UnsignedInts.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
107 assertEquals(LEAST, UnsignedInts.max(LEAST)); in testMax()
130 assertEquals(LEAST, UnsignedInts.min(LEAST)); in testMin()
148 new int[] {LEAST}, in testLexicographicalComparator()
149 new int[] {LEAST, LEAST}, in testLexicographicalComparator()
150 new int[] {LEAST, (int) 1L}, in testLexicographicalComparator()
152 new int[] {(int) 1L, LEAST}, in testLexicographicalComparator()
165 testSort(new int[] {2, GREATEST, 1, LEAST}, new int[] {LEAST, 1, 2, GREATEST}); in testSort()
[all …]
DUnsignedBytesTest.java35 private static final byte LEAST = 0; field in UnsignedBytesTest
39 private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST};
65 assertEquals(LEAST, UnsignedBytes.saturatedCast(-1L)); in testSaturatedCast()
67 assertEquals(LEAST, UnsignedBytes.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
106 assertEquals(LEAST, UnsignedBytes.max(LEAST)); in testMax()
121 assertEquals(LEAST, UnsignedBytes.min(LEAST)); in testMin()
267 new byte[] {LEAST}, in testLexicographicalComparator()
268 new byte[] {LEAST, LEAST}, in testLexicographicalComparator()
269 new byte[] {LEAST, (byte) 1}, in testLexicographicalComparator()
271 new byte[] {(byte) 1, LEAST}, in testLexicographicalComparator()
[all …]
DUnsignedLongsTest.java38 private static final long LEAST = 0L; field in UnsignedLongsTest
71 assertEquals(LEAST, UnsignedLongs.max(LEAST)); in testMax()
88 assertEquals(LEAST, UnsignedLongs.min(LEAST)); in testMin()
100 new long[] {LEAST}, in testLexicographicalComparator()
101 new long[] {LEAST, LEAST}, in testLexicographicalComparator()
102 new long[] {LEAST, (long) 1}, in testLexicographicalComparator()
104 new long[] {(long) 1, LEAST}, in testLexicographicalComparator()
117 testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST}); in testSort()
136 testSort(new long[] {2, GREATEST, 1, LEAST}, 1, 4, new long[] {2, LEAST, 1, GREATEST}); in testSortIndexed()
DIntsTest.java45 private static final int LEAST = Integer.MIN_VALUE; field in IntsTest
48 private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST};
61 assertCastFails(LEAST - 1L); in testCheckedCast()
71 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); in testSaturatedCast()
73 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
168 assertEquals(LEAST, Ints.max(LEAST)); in testMax()
183 assertEquals(LEAST, Ints.min(LEAST)); in testMin()
290 new int[] {LEAST}, in testLexicographicalComparator()
291 new int[] {LEAST, LEAST}, in testLexicographicalComparator()
292 new int[] {LEAST, (int) 1}, in testLexicographicalComparator()
[all …]
DCharsTest.java44 private static final char LEAST = Character.MIN_VALUE; field in CharsTest
47 private static final char[] VALUES = {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
60 assertCastFails(LEAST - 1L); in testCheckedCast()
70 assertEquals(LEAST, Chars.saturatedCast(LEAST - 1L)); in testSaturatedCast()
72 assertEquals(LEAST, Chars.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
169 assertEquals(LEAST, Chars.max(LEAST)); in testMax()
184 assertEquals(LEAST, Chars.min(LEAST)); in testMin()
304 new char[] {LEAST}, in testLexicographicalComparator()
305 new char[] {LEAST, LEAST}, in testLexicographicalComparator()
306 new char[] {LEAST, (char) 1}, in testLexicographicalComparator()
[all …]
DShortsTest.java45 private static final short LEAST = Short.MIN_VALUE; field in ShortsTest
48 private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST};
61 assertCastFails(LEAST - 1L); in testCheckedCast()
71 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L)); in testSaturatedCast()
73 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
188 assertEquals(LEAST, Shorts.max(LEAST)); in testMax()
205 assertEquals(LEAST, Shorts.min(LEAST)); in testMin()
318 new short[] {LEAST}, in testLexicographicalComparator()
319 new short[] {LEAST, LEAST}, in testLexicographicalComparator()
320 new short[] {LEAST, (short) 1}, in testLexicographicalComparator()
[all …]
DFloatsTest.java48 private static final float LEAST = Float.NEGATIVE_INFINITY; field in FloatsTest
53 LEAST,
200 assertEquals(LEAST, Floats.max(LEAST)); in testMax()
221 assertEquals(LEAST, Floats.min(LEAST)); in testMin()
229 assertEquals(LEAST, Floats.min(NUMBERS)); in testMin()
298 new float[] {LEAST}, in testLexicographicalComparator()
299 new float[] {LEAST, LEAST}, in testLexicographicalComparator()
300 new float[] {LEAST, (float) 1}, in testLexicographicalComparator()
302 new float[] {(float) 1, LEAST}, in testLexicographicalComparator()
DDoublesTest.java49 private static final double LEAST = Double.NEGATIVE_INFINITY; field in DoublesTest
54 LEAST,
207 assertEquals(LEAST, Doubles.max(LEAST)); in testMax()
230 assertEquals(LEAST, Doubles.min(LEAST)); in testMin()
239 assertEquals(LEAST, Doubles.min(NUMBERS)); in testMin()
322 new double[] {LEAST}, in testLexicographicalComparator()
323 new double[] {LEAST, LEAST}, in testLexicographicalComparator()
324 new double[] {LEAST, (double) 1}, in testLexicographicalComparator()
326 new double[] {(double) 1, LEAST}, in testLexicographicalComparator()
/external/guava/android/guava-tests/test/com/google/common/primitives/
DSignedBytesTest.java40 private static final byte LEAST = Byte.MIN_VALUE; field in SignedBytesTest
43 private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
50 assertCastFails(LEAST - 1L); in testCheckedCast()
60 assertEquals(LEAST, SignedBytes.saturatedCast(LEAST - 1L)); in testSaturatedCast()
62 assertEquals(LEAST, SignedBytes.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
104 assertEquals(LEAST, SignedBytes.max(LEAST)); in testMax()
119 assertEquals(LEAST, SignedBytes.min(LEAST)); in testMin()
137 new byte[] {LEAST}, in testLexicographicalComparator()
138 new byte[] {LEAST, LEAST}, in testLexicographicalComparator()
139 new byte[] {LEAST, (byte) 1}, in testLexicographicalComparator()
[all …]
DUnsignedIntsTest.java50 private static final int LEAST = (int) 0L; field in UnsignedIntsTest
77 assertEquals(LEAST, UnsignedInts.saturatedCast(-1L)); in testSaturatedCast()
79 assertEquals(LEAST, UnsignedInts.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
107 assertEquals(LEAST, UnsignedInts.max(LEAST)); in testMax()
130 assertEquals(LEAST, UnsignedInts.min(LEAST)); in testMin()
148 new int[] {LEAST}, in testLexicographicalComparator()
149 new int[] {LEAST, LEAST}, in testLexicographicalComparator()
150 new int[] {LEAST, (int) 1L}, in testLexicographicalComparator()
152 new int[] {(int) 1L, LEAST}, in testLexicographicalComparator()
165 testSort(new int[] {2, GREATEST, 1, LEAST}, new int[] {LEAST, 1, 2, GREATEST}); in testSort()
[all …]
DUnsignedBytesTest.java35 private static final byte LEAST = 0; field in UnsignedBytesTest
39 private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST};
65 assertEquals(LEAST, UnsignedBytes.saturatedCast(-1L)); in testSaturatedCast()
67 assertEquals(LEAST, UnsignedBytes.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
106 assertEquals(LEAST, UnsignedBytes.max(LEAST)); in testMax()
121 assertEquals(LEAST, UnsignedBytes.min(LEAST)); in testMin()
267 new byte[] {LEAST}, in testLexicographicalComparator()
268 new byte[] {LEAST, LEAST}, in testLexicographicalComparator()
269 new byte[] {LEAST, (byte) 1}, in testLexicographicalComparator()
271 new byte[] {(byte) 1, LEAST}, in testLexicographicalComparator()
[all …]
DUnsignedLongsTest.java38 private static final long LEAST = 0L; field in UnsignedLongsTest
71 assertEquals(LEAST, UnsignedLongs.max(LEAST)); in testMax()
88 assertEquals(LEAST, UnsignedLongs.min(LEAST)); in testMin()
100 new long[] {LEAST}, in testLexicographicalComparator()
101 new long[] {LEAST, LEAST}, in testLexicographicalComparator()
102 new long[] {LEAST, (long) 1}, in testLexicographicalComparator()
104 new long[] {(long) 1, LEAST}, in testLexicographicalComparator()
117 testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST}); in testSort()
136 testSort(new long[] {2, GREATEST, 1, LEAST}, 1, 4, new long[] {2, LEAST, 1, GREATEST}); in testSortIndexed()
DIntsTest.java45 private static final int LEAST = Integer.MIN_VALUE; field in IntsTest
48 private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST};
61 assertCastFails(LEAST - 1L); in testCheckedCast()
71 assertEquals(LEAST, Ints.saturatedCast(LEAST - 1L)); in testSaturatedCast()
73 assertEquals(LEAST, Ints.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
168 assertEquals(LEAST, Ints.max(LEAST)); in testMax()
183 assertEquals(LEAST, Ints.min(LEAST)); in testMin()
290 new int[] {LEAST}, in testLexicographicalComparator()
291 new int[] {LEAST, LEAST}, in testLexicographicalComparator()
292 new int[] {LEAST, (int) 1}, in testLexicographicalComparator()
[all …]
DCharsTest.java44 private static final char LEAST = Character.MIN_VALUE; field in CharsTest
47 private static final char[] VALUES = {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
60 assertCastFails(LEAST - 1L); in testCheckedCast()
70 assertEquals(LEAST, Chars.saturatedCast(LEAST - 1L)); in testSaturatedCast()
72 assertEquals(LEAST, Chars.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
169 assertEquals(LEAST, Chars.max(LEAST)); in testMax()
184 assertEquals(LEAST, Chars.min(LEAST)); in testMin()
304 new char[] {LEAST}, in testLexicographicalComparator()
305 new char[] {LEAST, LEAST}, in testLexicographicalComparator()
306 new char[] {LEAST, (char) 1}, in testLexicographicalComparator()
[all …]
DShortsTest.java45 private static final short LEAST = Short.MIN_VALUE; field in ShortsTest
48 private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST};
61 assertCastFails(LEAST - 1L); in testCheckedCast()
71 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L)); in testSaturatedCast()
73 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast()
188 assertEquals(LEAST, Shorts.max(LEAST)); in testMax()
205 assertEquals(LEAST, Shorts.min(LEAST)); in testMin()
318 new short[] {LEAST}, in testLexicographicalComparator()
319 new short[] {LEAST, LEAST}, in testLexicographicalComparator()
320 new short[] {LEAST, (short) 1}, in testLexicographicalComparator()
[all …]
DFloatsTest.java48 private static final float LEAST = Float.NEGATIVE_INFINITY; field in FloatsTest
53 LEAST,
200 assertEquals(LEAST, Floats.max(LEAST)); in testMax()
221 assertEquals(LEAST, Floats.min(LEAST)); in testMin()
229 assertEquals(LEAST, Floats.min(NUMBERS)); in testMin()
298 new float[] {LEAST}, in testLexicographicalComparator()
299 new float[] {LEAST, LEAST}, in testLexicographicalComparator()
300 new float[] {LEAST, (float) 1}, in testLexicographicalComparator()
302 new float[] {(float) 1, LEAST}, in testLexicographicalComparator()
DDoublesTest.java49 private static final double LEAST = Double.NEGATIVE_INFINITY; field in DoublesTest
54 LEAST,
207 assertEquals(LEAST, Doubles.max(LEAST)); in testMax()
230 assertEquals(LEAST, Doubles.min(LEAST)); in testMin()
239 assertEquals(LEAST, Doubles.min(NUMBERS)); in testMin()
322 new double[] {LEAST}, in testLexicographicalComparator()
323 new double[] {LEAST, LEAST}, in testLexicographicalComparator()
324 new double[] {LEAST, (double) 1}, in testLexicographicalComparator()
326 new double[] {(double) 1, LEAST}, in testLexicographicalComparator()
/external/deqp/doc/testspecs/GLES31/
Dfunctional.shaders.sample_variables.txt81 shading value set to 50%, i.e. there should be AT LEAST one invocation per two