Lines Matching refs:assertIntEquals
40 public static void assertIntEquals(int expected, int result) { in assertIntEquals() method in Main
275 assertIntEquals((a | $noinline$IntShr(b, 6)) | (a | $noinline$intToChar(b)), in $opt$noinline$testOr()
317 assertIntEquals(-$noinline$IntShl(a, 8) | -$noinline$intToShort(a), in $opt$noinline$testNeg()
341 assertIntEquals(a + $noinline$byteToChar (b), a + (char)b); in $opt$validateExtendByteInt1()
343 assertIntEquals(a + $noinline$byteToShort(b), a + (short)b); in $opt$validateExtendByteInt1()
354 assertIntEquals (a + $noinline$byteToInt (b), a + (int)b); in $opt$validateExtendByteInt2()
415 assertIntEquals(a + $noinline$charToByte (b), a + (byte)b); in $opt$validateExtendCharInt1()
416 assertIntEquals(a + $noinline$charToShort(b), a + (short)b); in $opt$validateExtendCharInt1()
427 assertIntEquals (a + $noinline$charToInt (b), a + (int)b); in $opt$validateExtendCharInt2()
487 assertIntEquals(a + $noinline$shortToByte (b), a + (byte)b); in $opt$validateExtendShortInt1()
488 assertIntEquals(a + $noinline$shortToChar (b), a + (char)b); in $opt$validateExtendShortInt1()
499 assertIntEquals (a + $noinline$shortToInt (b), a + (int)b); in $opt$validateExtendShortInt2()
838 assertIntEquals(a + $noinline$IntShl(b, 1), a + (b << 1)); in $opt$validateShiftInt()
839 assertIntEquals(a + $noinline$IntShl(b, 6), a + (b << 6)); in $opt$validateShiftInt()
840 assertIntEquals(a + $noinline$IntShl(b, 7), a + (b << 7)); in $opt$validateShiftInt()
841 assertIntEquals(a + $noinline$IntShl(b, 8), a + (b << 8)); in $opt$validateShiftInt()
842 assertIntEquals(a + $noinline$IntShl(b, 14), a + (b << 14)); in $opt$validateShiftInt()
843 assertIntEquals(a + $noinline$IntShl(b, 15), a + (b << 15)); in $opt$validateShiftInt()
844 assertIntEquals(a + $noinline$IntShl(b, 16), a + (b << 16)); in $opt$validateShiftInt()
845 assertIntEquals(a + $noinline$IntShl(b, 30), a + (b << 30)); in $opt$validateShiftInt()
846 assertIntEquals(a + $noinline$IntShl(b, 31), a + (b << 31)); in $opt$validateShiftInt()
847 assertIntEquals(a + $noinline$IntShl(b, 32), a + (b << $opt$inline$IntConstant32())); in $opt$validateShiftInt()
848 assertIntEquals(a + $noinline$IntShl(b, 62), a + (b << $opt$inline$IntConstant62())); in $opt$validateShiftInt()
849 assertIntEquals(a + $noinline$IntShl(b, 63), a + (b << $opt$inline$IntConstant63())); in $opt$validateShiftInt()
851 assertIntEquals(a - $noinline$IntShr(b, 1), a - (b >> 1)); in $opt$validateShiftInt()
852 assertIntEquals(a - $noinline$IntShr(b, 6), a - (b >> 6)); in $opt$validateShiftInt()
853 assertIntEquals(a - $noinline$IntShr(b, 7), a - (b >> 7)); in $opt$validateShiftInt()
854 assertIntEquals(a - $noinline$IntShr(b, 8), a - (b >> 8)); in $opt$validateShiftInt()
855 assertIntEquals(a - $noinline$IntShr(b, 14), a - (b >> 14)); in $opt$validateShiftInt()
856 assertIntEquals(a - $noinline$IntShr(b, 15), a - (b >> 15)); in $opt$validateShiftInt()
857 assertIntEquals(a - $noinline$IntShr(b, 16), a - (b >> 16)); in $opt$validateShiftInt()
858 assertIntEquals(a - $noinline$IntShr(b, 30), a - (b >> 30)); in $opt$validateShiftInt()
859 assertIntEquals(a - $noinline$IntShr(b, 31), a - (b >> 31)); in $opt$validateShiftInt()
860 assertIntEquals(a - $noinline$IntShr(b, 32), a - (b >> $opt$inline$IntConstant32())); in $opt$validateShiftInt()
861 assertIntEquals(a - $noinline$IntShr(b, 62), a - (b >> $opt$inline$IntConstant62())); in $opt$validateShiftInt()
862 assertIntEquals(a - $noinline$IntShr(b, 63), a - (b >> $opt$inline$IntConstant63())); in $opt$validateShiftInt()
864 assertIntEquals(a ^ $noinline$IntUshr(b, 1), a ^ (b >>> 1)); in $opt$validateShiftInt()
865 assertIntEquals(a ^ $noinline$IntUshr(b, 6), a ^ (b >>> 6)); in $opt$validateShiftInt()
866 assertIntEquals(a ^ $noinline$IntUshr(b, 7), a ^ (b >>> 7)); in $opt$validateShiftInt()
867 assertIntEquals(a ^ $noinline$IntUshr(b, 8), a ^ (b >>> 8)); in $opt$validateShiftInt()
868 assertIntEquals(a ^ $noinline$IntUshr(b, 14), a ^ (b >>> 14)); in $opt$validateShiftInt()
869 assertIntEquals(a ^ $noinline$IntUshr(b, 15), a ^ (b >>> 15)); in $opt$validateShiftInt()
870 assertIntEquals(a ^ $noinline$IntUshr(b, 16), a ^ (b >>> 16)); in $opt$validateShiftInt()
871 assertIntEquals(a ^ $noinline$IntUshr(b, 30), a ^ (b >>> 30)); in $opt$validateShiftInt()
872 assertIntEquals(a ^ $noinline$IntUshr(b, 31), a ^ (b >>> 31)); in $opt$validateShiftInt()
873 assertIntEquals(a ^ $noinline$IntUshr(b, 32), a ^ (b >>> $opt$inline$IntConstant32())); in $opt$validateShiftInt()
874 assertIntEquals(a ^ $noinline$IntUshr(b, 62), a ^ (b >>> $opt$inline$IntConstant62())); in $opt$validateShiftInt()
875 assertIntEquals(a ^ $noinline$IntUshr(b, 63), a ^ (b >>> $opt$inline$IntConstant63())); in $opt$validateShiftInt()
1035 assertIntEquals(3 * 12, results.length); in $opt$validateShiftLongAsserts()
1082 assertIntEquals(4096, $opt$noinline$sameInput(512)); in main()
1083 assertIntEquals(-8192, $opt$noinline$sameInput(-1024)); in main()
1085 assertIntEquals(((1 << 23) | 1), $opt$noinline$multipleUses(1)); in main()
1086 assertIntEquals(((1 << 20) | 5), $opt$noinline$multipleUses(1 << 20)); in main()