Lines Matching refs:compareByteInt
185 public static int compareByteInt(byte x, int y) { in compareByteInt() method in Main
580 expectEquals(-1, compareByteInt(Byte.MIN_VALUE, -1)); in testCompareByteInt()
581 expectEquals(-1, compareByteInt(Byte.MIN_VALUE, 0)); in testCompareByteInt()
582 expectEquals(-1, compareByteInt(Byte.MIN_VALUE, 1)); in testCompareByteInt()
583 expectEquals(-1, compareByteInt(Byte.MIN_VALUE, Integer.MAX_VALUE)); in testCompareByteInt()
584 expectEquals(-1, compareByteInt((byte)-1, 0)); in testCompareByteInt()
585 expectEquals(-1, compareByteInt((byte)-1, 1)); in testCompareByteInt()
586 expectEquals(-1, compareByteInt((byte)0, 1)); in testCompareByteInt()
587 expectEquals(-1, compareByteInt(Byte.MAX_VALUE, Integer.MAX_VALUE - 1)); in testCompareByteInt()
588 expectEquals(-1, compareByteInt(Byte.MAX_VALUE, Integer.MAX_VALUE)); in testCompareByteInt()
590 expectEquals(0, compareByteInt((byte)-1, -1)); in testCompareByteInt()
591 expectEquals(0, compareByteInt((byte)0, 0)); in testCompareByteInt()
592 expectEquals(0, compareByteInt((byte)1, 1)); in testCompareByteInt()
594 expectEquals(1, compareByteInt(Byte.MIN_VALUE, Integer.MIN_VALUE)); in testCompareByteInt()
595 expectEquals(1, compareByteInt(Byte.MIN_VALUE, Integer.MIN_VALUE + 1)); in testCompareByteInt()
596 expectEquals(1, compareByteInt((byte)0, -1)); in testCompareByteInt()
597 expectEquals(1, compareByteInt((byte)1, -1)); in testCompareByteInt()
598 expectEquals(1, compareByteInt((byte)1, 0)); in testCompareByteInt()
599 expectEquals(1, compareByteInt(Byte.MAX_VALUE, Integer.MIN_VALUE)); in testCompareByteInt()
600 expectEquals(1, compareByteInt(Byte.MAX_VALUE, -1)); in testCompareByteInt()
601 expectEquals(1, compareByteInt(Byte.MAX_VALUE, 0)); in testCompareByteInt()
602 expectEquals(1, compareByteInt(Byte.MAX_VALUE, 1)); in testCompareByteInt()
609 expectEquals(expected, compareByteInt(i, j)); in testCompareByteInt()