Lines Matching refs:GREATEST
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));
304 new int[] {GREATEST, GREATEST - (int) 1},
305 new int[] {GREATEST, GREATEST},
306 new int[] {GREATEST, GREATEST, GREATEST});
410 tryParseAndAssertEquals(GREATEST, Integer.toString(GREATEST));
417 Ints.tryParse(Long.toString(((long) GREATEST) + 1)));