Lines Matching refs:compareIntShort
283 public static int compareIntShort(int x, short y) { in compareIntShort() method in TestCompare
808 expectEquals(-1, compareIntShort(Integer.MIN_VALUE, Short.MIN_VALUE)); in testCompareIntShort()
809 expectEquals(-1, compareIntShort(Integer.MIN_VALUE, (short)(Short.MIN_VALUE + 1))); in testCompareIntShort()
810 expectEquals(-1, compareIntShort(Integer.MIN_VALUE, (short)-1)); in testCompareIntShort()
811 expectEquals(-1, compareIntShort(Integer.MIN_VALUE, (short)0)); in testCompareIntShort()
812 expectEquals(-1, compareIntShort(Integer.MIN_VALUE, (short)1)); in testCompareIntShort()
813 expectEquals(-1, compareIntShort(Integer.MIN_VALUE, Short.MAX_VALUE)); in testCompareIntShort()
814 expectEquals(-1, compareIntShort(-1, (short)0)); in testCompareIntShort()
815 expectEquals(-1, compareIntShort(-1, (short)1)); in testCompareIntShort()
816 expectEquals(-1, compareIntShort(0, (short)1)); in testCompareIntShort()
818 expectEquals(0, compareIntShort(-1, (short)-1)); in testCompareIntShort()
819 expectEquals(0, compareIntShort(0, (short)0)); in testCompareIntShort()
820 expectEquals(0, compareIntShort(1, (short)1)); in testCompareIntShort()
822 expectEquals(1, compareIntShort(0, (short)-1)); in testCompareIntShort()
823 expectEquals(1, compareIntShort(1, (short)-1)); in testCompareIntShort()
824 expectEquals(1, compareIntShort(1, (short)0)); in testCompareIntShort()
825 expectEquals(1, compareIntShort(Integer.MAX_VALUE, Short.MIN_VALUE)); in testCompareIntShort()
826 expectEquals(1, compareIntShort(Integer.MAX_VALUE, (short)-1)); in testCompareIntShort()
827 expectEquals(1, compareIntShort(Integer.MAX_VALUE, (short)0)); in testCompareIntShort()
828 expectEquals(1, compareIntShort(Integer.MAX_VALUE, (short)1)); in testCompareIntShort()
829 expectEquals(1, compareIntShort(Integer.MAX_VALUE, (short)(Short.MAX_VALUE - 1))); in testCompareIntShort()
830 expectEquals(1, compareIntShort(Integer.MAX_VALUE, Short.MAX_VALUE)); in testCompareIntShort()
837 expectEquals(expected, compareIntShort(i, j)); in testCompareIntShort()