diff options
Diffstat (limited to 'test/unit/results/TestClassSwitch.dec')
-rw-r--r-- | test/unit/results/TestClassSwitch.dec | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/unit/results/TestClassSwitch.dec b/test/unit/results/TestClassSwitch.dec new file mode 100644 index 0000000..386a341 --- /dev/null +++ b/test/unit/results/TestClassSwitch.dec @@ -0,0 +1,16 @@ +package unit.classes; + + +public class TestClassSwitch { + + public void testCaseOrder(int var1) { + switch(var1) { + case 5: + System.out.println(5); + default: + return; + case 13: + System.out.println(13); + } + } +} |