From 887c093afdb49b9bd2a2a4930c0a6a331662399d Mon Sep 17 00:00:00 2001 From: Stiver Date: Wed, 13 Aug 2014 22:17:21 +0200 Subject: Unit tests updated --- test/unit/results/TestClassSwitch.dec | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/unit/results/TestClassSwitch.dec (limited to 'test/unit/results/TestClassSwitch.dec') 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); + } + } +} -- cgit v1.2.3