diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/classes/TestClassTypes.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/unit/classes/TestClassTypes.java b/test/unit/classes/TestClassTypes.java index a23e256..a8a5116 100644 --- a/test/unit/classes/TestClassTypes.java +++ b/test/unit/classes/TestClassTypes.java @@ -21,7 +21,25 @@ public class TestClassTypes { } } + public boolean testBit(int var0) { + return (var0 & 1) == 1; + } + public void testSwitchConsts(int a) { + + switch (a) { + case 88: + System.out.println("1"); + break; + case 656: + System.out.println("2"); + break; + case 65201: + case 65489: + System.out.println("3"); + } + } + public void testAssignmentType(List list) { List a = list; |