Lines Matching refs:Main
35 Main.assertTrue(i1 == 0x44332211); in shiftTest1()
36 Main.assertTrue(i2 == 0xbbaa9988); in shiftTest1()
37 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1()
48 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1()
66 Main.assertTrue(result == 0x1122334455667788L); in shiftTest2()
82 Main.assertTrue((int) b == -1); in unsignedShiftTest()
83 Main.assertTrue((int) s == -1); in unsignedShiftTest()
84 Main.assertTrue((int) c == 0x0fff); in unsignedShiftTest()
85 Main.assertTrue(i == 268435455); in unsignedShiftTest()
96 Main.assertTrue(1 << thirtyTwo == 1); in shiftTest3()
97 Main.assertTrue((1 << sixteen) << sixteen == 0); in shiftTest3()
98 Main.assertTrue(1 << thirtyThree == 2); in shiftTest3()
99 Main.assertTrue(1 << -one == -2147483648); in shiftTest3()
100 Main.assertTrue(1 << -thirtyTwo == 1); in shiftTest3()
101 Main.assertTrue(1 << -thirtyThree == -2147483648); in shiftTest3()
102 Main.assertTrue(1 << thirtyThree == 2); in shiftTest3()
104 Main.assertTrue(1 >> thirtyTwo == 1); in shiftTest3()
105 Main.assertTrue((1 >> sixteen) >> sixteen == 0); in shiftTest3()
106 Main.assertTrue(1 >> thirtyThree == 0); in shiftTest3()
107 Main.assertTrue(1 >> -one == 0); in shiftTest3()
108 Main.assertTrue(1 >> -thirtyTwo == 1); in shiftTest3()
109 Main.assertTrue(1 >> -thirtyThree == 0); in shiftTest3()
110 Main.assertTrue(-4 >> thirtyThree == -2); in shiftTest3()
112 Main.assertTrue(1 >>> thirtyTwo == 1); in shiftTest3()
113 Main.assertTrue((1 >>> sixteen) >>> sixteen == 0); in shiftTest3()
114 Main.assertTrue(1 >>> thirtyThree == 0); in shiftTest3()
115 Main.assertTrue(1 >>> -one == 0); in shiftTest3()
116 Main.assertTrue(1 >>> -thirtyTwo == 1); in shiftTest3()
117 Main.assertTrue(1 >>> -thirtyThree == 0); in shiftTest3()
118 Main.assertTrue(-4 >>> thirtyThree == 2147483646); in shiftTest3()
132 Main.assertTrue(l == 7654L); in convTest()
136 Main.assertTrue(l == -7654L); in convTest()
141 Main.assertTrue(i == 1383989493); in convTest()
145 Main.assertTrue(i == -1383989493); in convTest()
157 Main.assertTrue(i == 0xffff00ea); in charSubTest()
193 Main.assertTrue(result == minInt); in intOperCheck()
195 Main.assertTrue(results[0] == 69997); in intOperCheck()
196 Main.assertTrue(results[1] == 70003); in intOperCheck()
197 Main.assertTrue(results[2] == -210000); in intOperCheck()
198 Main.assertTrue(results[3] == 605032704); // overflow / truncate in intOperCheck()
199 Main.assertTrue(results[4] == -23333); in intOperCheck()
200 Main.assertTrue(results[5] == 1); in intOperCheck()
201 Main.assertTrue(results[6] == 70000); in intOperCheck()
202 Main.assertTrue(results[7] == -3); in intOperCheck()
203 Main.assertTrue(results[8] == -70003); in intOperCheck()
204 Main.assertTrue(results[9] == 70000); in intOperCheck()
227 Main.assertTrue(results[0] == 78777); in lit16Check()
228 Main.assertTrue(results[1] == -76777); in lit16Check()
229 Main.assertTrue(results[2] == 77777000); in lit16Check()
230 Main.assertTrue(results[3] == 77); in lit16Check()
231 Main.assertTrue(results[4] == 777); in lit16Check()
232 Main.assertTrue(results[5] == 960); in lit16Check()
233 Main.assertTrue(results[6] == -39); in lit16Check()
234 Main.assertTrue(results[7] == -76855); in lit16Check()
263 Main.assertTrue(result == minInt); in lit8Check()
265 Main.assertTrue(results[0] == -55545); in lit8Check()
266 Main.assertTrue(results[1] == 55565); in lit8Check()
267 Main.assertTrue(results[2] == -555550); in lit8Check()
268 Main.assertTrue(results[3] == -5555); in lit8Check()
269 Main.assertTrue(results[4] == -5); in lit8Check()
270 Main.assertTrue(results[5] == 8); in lit8Check()
271 Main.assertTrue(results[6] == -1); in lit8Check()
272 Main.assertTrue(results[7] == 55563); in lit8Check()
338 Main.assertTrue(normal == special); in divLiteralTestBody()
368 Main.assertTrue(results[0] == 0x00aa0100); in intShiftCheck()
369 Main.assertTrue(results[1] == 0xffff00aa); in intShiftCheck()
370 Main.assertTrue(results[2] == 0x00ff00aa); in intShiftCheck()
371 Main.assertTrue(results[3] == 0xaa00); in intShiftCheck()
407 Main.assertTrue(result == minLong); in longOperCheck()
409 Main.assertTrue(results[0] == 69999999997L); in longOperCheck()
410 Main.assertTrue(results[1] == 70000000003L); in longOperCheck()
411 Main.assertTrue(results[2] == -210000000000L); in longOperCheck()
412 Main.assertTrue(results[3] == -6833923606740729856L); // overflow in longOperCheck()
413 Main.assertTrue(results[4] == -23333333333L); in longOperCheck()
414 Main.assertTrue(results[5] == 1); in longOperCheck()
415 Main.assertTrue(results[6] == 70000000000L); in longOperCheck()
416 Main.assertTrue(results[7] == -3); in longOperCheck()
417 Main.assertTrue(results[8] == -70000000003L); in longOperCheck()
418 Main.assertTrue(results[9] == 70000000000L); in longOperCheck()
420 Main.assertTrue(results.length == 10); in longOperCheck()
441 Main.assertTrue(results[0] == 0x96deff00aa010000L); in longShiftCheck()
442 Main.assertTrue(results[1] == 0xffffd5aa96deff00L); in longShiftCheck()
443 Main.assertTrue(results[2] == 0x0000d5aa96deff00L); in longShiftCheck()
444 Main.assertTrue(results[3] == 0xffff96deff000000L); in longShiftCheck()
446 Main.assertTrue(results.length == 4); in longShiftCheck()
461 Main.assertTrue(result == 37); in unopCheck()
483 Main.assertTrue(shorts.mShort == -5597); // 0xea23 in truncateCheck()
484 Main.assertTrue(shorts.mChar == 59939); // 0xea23 in truncateCheck()
485 Main.assertTrue(shorts.mByte == 35); // 0x23 in truncateCheck()
496 Main.assertTrue(false); in divideByZero()
502 Main.assertTrue(false); in divideByZero()
508 Main.assertTrue(false); in divideByZero()
514 Main.assertTrue(false); in divideByZero()
535 Main.assertTrue(intDivResult == mostNegInt); in bigDivideOverflow()
536 Main.assertTrue(intModResult == 0); in bigDivideOverflow()
537 Main.assertTrue(longDivResult == mostNegLong); in bigDivideOverflow()
538 Main.assertTrue(longModResult == 0); in bigDivideOverflow()
548 Main.assertTrue(small == 1); // const/4 in checkConsts()
549 Main.assertTrue(medium == -256); // const/16 in checkConsts()
550 Main.assertTrue(medium == -256L); // const-wide/16 in checkConsts()
551 Main.assertTrue(large == -88888); // const in checkConsts()
552 Main.assertTrue(large == -88888L); // const-wide/32 in checkConsts()
553 Main.assertTrue(huge == 0x9922334455667788L); // const-wide in checkConsts()
564 Main.assertTrue(Math.abs(ii) == ii); in jlmTests()
565 Main.assertTrue(Math.abs(-ii) == ii); in jlmTests()
566 Main.assertTrue(Math.min(ii, -5) == -5); in jlmTests()
567 Main.assertTrue(Math.max(ii, -5) == ii); in jlmTests()
569 Main.assertTrue(Math.abs(ll) == ll); in jlmTests()
570 Main.assertTrue(Math.abs(-ll) == ll); in jlmTests()
571 Main.assertTrue(Math.min(ll, -5L) == -5L); in jlmTests()
572 Main.assertTrue(Math.max(ll, -5L) == ll); in jlmTests()
601 Main.assertTrue(longRet == 0x96deff00aa010000L); in run()