diff options
author | Stiver <stiver.mail@gmail.com> | 2014-08-20 18:51:03 +0200 |
---|---|---|
committer | Stiver <stiver.mail@gmail.com> | 2014-08-20 18:51:03 +0200 |
commit | b3705cf40072203386d784c161419cbcc9e9d164 (patch) | |
tree | be0824b42cd35d9af69fce27ae3f2995ca087a45 | |
parent | 7492715abf76cc8b97a898e8a2a02d4672c05f01 (diff) | |
download | fernflower-b3705cf40072203386d784c161419cbcc9e9d164.tar fernflower-b3705cf40072203386d784c161419cbcc9e9d164.tar.gz fernflower-b3705cf40072203386d784c161419cbcc9e9d164.tar.lz fernflower-b3705cf40072203386d784c161419cbcc9e9d164.tar.xz fernflower-b3705cf40072203386d784c161419cbcc9e9d164.zip |
Unit tests updated
-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; |