mirror of
https://github.com/revanced/smali.git
synced 2025-05-05 09:04:25 +02:00
Whitespace changes
git-svn-id: https://smali.googlecode.com/svn/trunk@739 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
e01409c11f
commit
58b9ba9e08
@ -32,10 +32,8 @@ import org.junit.Test;
|
|||||||
|
|
||||||
public class LongLiteralTest
|
public class LongLiteralTest
|
||||||
{
|
{
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void SuccessHexTests() {
|
public void SuccessHexTests() {
|
||||||
|
|
||||||
Assert.assertTrue(literalTools.parseLong("0x0L") == 0x0);
|
Assert.assertTrue(literalTools.parseLong("0x0L") == 0x0);
|
||||||
Assert.assertTrue(literalTools.parseLong("0x00") == 0x0);
|
Assert.assertTrue(literalTools.parseLong("0x00") == 0x0);
|
||||||
Assert.assertTrue(literalTools.parseLong("0x1L") == 0x1);
|
Assert.assertTrue(literalTools.parseLong("0x1L") == 0x1);
|
||||||
@ -65,9 +63,7 @@ public class LongLiteralTest
|
|||||||
literalTools.parseLong("0x10000000000000000");
|
literalTools.parseLong("0x10000000000000000");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
|
||||||
@Test
|
|
||||||
public void SuccessDecTests() {
|
public void SuccessDecTests() {
|
||||||
Assert.assertTrue(literalTools.parseLong("0L") == 0);
|
Assert.assertTrue(literalTools.parseLong("0L") == 0);
|
||||||
Assert.assertTrue(literalTools.parseLong("1") == 1);
|
Assert.assertTrue(literalTools.parseLong("1") == 1);
|
||||||
@ -76,7 +72,6 @@ public class LongLiteralTest
|
|||||||
Assert.assertTrue(literalTools.parseLong("9223372036854775808") == Long.MIN_VALUE);
|
Assert.assertTrue(literalTools.parseLong("9223372036854775808") == Long.MIN_VALUE);
|
||||||
Assert.assertTrue(literalTools.parseLong("18446744073709551615L") == -1);
|
Assert.assertTrue(literalTools.parseLong("18446744073709551615L") == -1);
|
||||||
|
|
||||||
|
|
||||||
Assert.assertTrue(literalTools.parseLong("-0") == 0);
|
Assert.assertTrue(literalTools.parseLong("-0") == 0);
|
||||||
Assert.assertTrue(literalTools.parseLong("-1") == -1);
|
Assert.assertTrue(literalTools.parseLong("-1") == -1);
|
||||||
Assert.assertTrue(literalTools.parseLong("-1234567890123456789") == -1234567890123456789L);
|
Assert.assertTrue(literalTools.parseLong("-1234567890123456789") == -1234567890123456789L);
|
||||||
@ -104,7 +99,6 @@ public class LongLiteralTest
|
|||||||
literalTools.parseLong("18446744073709551700");
|
literalTools.parseLong("18446744073709551700");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void SuccessOctTests() {
|
public void SuccessOctTests() {
|
||||||
Assert.assertTrue(literalTools.parseLong("00") == 00);
|
Assert.assertTrue(literalTools.parseLong("00") == 00);
|
||||||
@ -114,7 +108,6 @@ public class LongLiteralTest
|
|||||||
Assert.assertTrue(literalTools.parseLong("01000000000000000000000") == Long.MIN_VALUE);
|
Assert.assertTrue(literalTools.parseLong("01000000000000000000000") == Long.MIN_VALUE);
|
||||||
Assert.assertTrue(literalTools.parseLong("01777777777777777777777") == -1);
|
Assert.assertTrue(literalTools.parseLong("01777777777777777777777") == -1);
|
||||||
|
|
||||||
|
|
||||||
Assert.assertTrue(literalTools.parseLong("-00") == 0);
|
Assert.assertTrue(literalTools.parseLong("-00") == 0);
|
||||||
Assert.assertTrue(literalTools.parseLong("-01") == -1);
|
Assert.assertTrue(literalTools.parseLong("-01") == -1);
|
||||||
Assert.assertTrue(literalTools.parseLong("-0123456701234567012345") == -0123456701234567012345L);
|
Assert.assertTrue(literalTools.parseLong("-0123456701234567012345") == -0123456701234567012345L);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user