Lines Matching refs:parseInt

38         Assert.assertTrue(LiteralTools.parseInt("0x0") == 0x0);  in SuccessHexTests()
39 Assert.assertTrue(LiteralTools.parseInt("0x00") == 0x0); in SuccessHexTests()
40 Assert.assertTrue(LiteralTools.parseInt("0x1") == 0x1); in SuccessHexTests()
41 Assert.assertTrue(LiteralTools.parseInt("0x12345678") == 0x12345678); in SuccessHexTests()
42 Assert.assertTrue(LiteralTools.parseInt("0x7fffffff") == 0x7fffffff); in SuccessHexTests()
43 Assert.assertTrue(LiteralTools.parseInt("0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
44 Assert.assertTrue(LiteralTools.parseInt("0xFFFFFFFF") == -1); in SuccessHexTests()
46 Assert.assertTrue(LiteralTools.parseInt("-0x00") == 0); in SuccessHexTests()
47 Assert.assertTrue(LiteralTools.parseInt("-0x01") == -1); in SuccessHexTests()
48 Assert.assertTrue(LiteralTools.parseInt("-0x12345678") == -0x12345678); in SuccessHexTests()
49 Assert.assertTrue(LiteralTools.parseInt("-0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
50 Assert.assertTrue(LiteralTools.parseInt("-0x1FFFFFFF") == -0x1FFFFFFF); in SuccessHexTests()
55 LiteralTools.parseInt("-0x80000001"); in FaileHexTest1()
60 LiteralTools.parseInt("-0xFFFFFFFF"); in FailHexTest2()
65 LiteralTools.parseInt("0x100000000"); in FailHexTest3()
72 Assert.assertTrue(LiteralTools.parseInt("0") == 0); in SuccessDecTests()
73 Assert.assertTrue(LiteralTools.parseInt("1") == 1); in SuccessDecTests()
74 Assert.assertTrue(LiteralTools.parseInt("1234567890") == 1234567890); in SuccessDecTests()
75 Assert.assertTrue(LiteralTools.parseInt("2147483647") == 2147483647); in SuccessDecTests()
76 Assert.assertTrue(LiteralTools.parseInt("2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
77 Assert.assertTrue(LiteralTools.parseInt("4294967295") == -1); in SuccessDecTests()
80 Assert.assertTrue(LiteralTools.parseInt("-0") == 0); in SuccessDecTests()
81 Assert.assertTrue(LiteralTools.parseInt("-1") == -1); in SuccessDecTests()
82 Assert.assertTrue(LiteralTools.parseInt("-1234567890") == -1234567890); in SuccessDecTests()
83 Assert.assertTrue(LiteralTools.parseInt("-2147483647") == -2147483647); in SuccessDecTests()
84 Assert.assertTrue(LiteralTools.parseInt("-2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
89 LiteralTools.parseInt("-2147483649"); in FaileDecTest1()
94 LiteralTools.parseInt("-4294967295"); in FailDecTest2()
99 LiteralTools.parseInt("4294967296"); in FailDecTest3()
104 LiteralTools.parseInt("4294967300"); in FailDecTest4()
109 LiteralTools.parseInt("8589934592"); in FailDecTest5()
115 Assert.assertTrue(LiteralTools.parseInt("00") == 00); in SuccessOctTests()
116 Assert.assertTrue(LiteralTools.parseInt("01") == 01); in SuccessOctTests()
117 Assert.assertTrue(LiteralTools.parseInt("012345670123") == 012345670123); in SuccessOctTests()
118 Assert.assertTrue(LiteralTools.parseInt("017777777777") == Integer.MAX_VALUE); in SuccessOctTests()
119 Assert.assertTrue(LiteralTools.parseInt("020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
120 Assert.assertTrue(LiteralTools.parseInt("037777777777") == -1); in SuccessOctTests()
123 Assert.assertTrue(LiteralTools.parseInt("-00") == 0); in SuccessOctTests()
124 Assert.assertTrue(LiteralTools.parseInt("-01") == -1); in SuccessOctTests()
125 Assert.assertTrue(LiteralTools.parseInt("-012345670123") == -012345670123); in SuccessOctTests()
126 Assert.assertTrue(LiteralTools.parseInt("-017777777777") == -017777777777); in SuccessOctTests()
127 Assert.assertTrue(LiteralTools.parseInt("-020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
132 LiteralTools.parseInt("-020000000001"); in FaileOctTest1()
137 LiteralTools.parseInt("-037777777777"); in FailOctTest2()
142 LiteralTools.parseInt("040000000000"); in FailOctTest3()