Lines Matching refs:GREATEST
49 private static final int GREATEST = Integer.MAX_VALUE;
52 { LEAST, (int) -1, (int) 0, (int) 1, GREATEST };
64 assertCastFails(GREATEST + 1L);
74 assertEquals(GREATEST, Ints.saturatedCast(GREATEST + 1L));
76 assertEquals(GREATEST, Ints.saturatedCast(Long.MAX_VALUE));
183 assertEquals(GREATEST, Ints.max(GREATEST));
199 assertEquals(GREATEST, Ints.min(GREATEST));
305 new int[] {GREATEST, GREATEST - (int) 1},
306 new int[] {GREATEST, GREATEST},
307 new int[] {GREATEST, GREATEST, GREATEST});
473 tryParseAndAssertEquals(GREATEST, Integer.toString(GREATEST));
480 Ints.tryParse(Long.toString(((long) GREATEST) + 1)));
482 Ints.tryParse(Long.toString(((long) GREATEST) * 10)));