Lines Matching refs:compareInts

147   private static int compareInts(int x, int y) {  in compareInts()  method in TestCompare
406 expectEquals(-1, compareInts(Integer.MIN_VALUE, Integer.MIN_VALUE + 1)); in testCompareInts()
407 expectEquals(-1, compareInts(Integer.MIN_VALUE, -1)); in testCompareInts()
408 expectEquals(-1, compareInts(Integer.MIN_VALUE, 0)); in testCompareInts()
409 expectEquals(-1, compareInts(Integer.MIN_VALUE, 1)); in testCompareInts()
410 expectEquals(-1, compareInts(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testCompareInts()
411 expectEquals(-1, compareInts(-1, 0)); in testCompareInts()
412 expectEquals(-1, compareInts(-1, 1)); in testCompareInts()
413 expectEquals(-1, compareInts(0, 1)); in testCompareInts()
415 expectEquals(0, compareInts(Integer.MIN_VALUE, Integer.MIN_VALUE)); in testCompareInts()
416 expectEquals(0, compareInts(-1, -1)); in testCompareInts()
417 expectEquals(0, compareInts(0, 0)); in testCompareInts()
418 expectEquals(0, compareInts(1, 1)); in testCompareInts()
419 expectEquals(0, compareInts(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testCompareInts()
421 expectEquals(1, compareInts(0, -1)); in testCompareInts()
422 expectEquals(1, compareInts(1, -1)); in testCompareInts()
423 expectEquals(1, compareInts(1, 0)); in testCompareInts()
424 expectEquals(1, compareInts(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testCompareInts()
425 expectEquals(1, compareInts(Integer.MAX_VALUE, -1)); in testCompareInts()
426 expectEquals(1, compareInts(Integer.MAX_VALUE, 0)); in testCompareInts()
427 expectEquals(1, compareInts(Integer.MAX_VALUE, 1)); in testCompareInts()
428 expectEquals(1, compareInts(Integer.MAX_VALUE, Integer.MAX_VALUE - 1)); in testCompareInts()
435 expectEquals(expected, compareInts(i, j)); in testCompareInts()