From b3705cf40072203386d784c161419cbcc9e9d164 Mon Sep 17 00:00:00 2001 From: Stiver Date: Wed, 20 Aug 2014 18:51:03 +0200 Subject: Unit tests updated --- test/unit/classes/TestClassTypes.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test') 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; -- cgit v1.2.3