From 70bf7f3f6993c6ea23dd568e39257b9c0dd6c8c7 Mon Sep 17 00:00:00 2001 From: Stiver Date: Sat, 9 Aug 2014 17:34:24 +0200 Subject: A couple of unit tests --- test/unit/classes/TestClassLoop.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/unit/classes/TestClassLoop.java (limited to 'test/unit/classes/TestClassLoop.java') diff --git a/test/unit/classes/TestClassLoop.java b/test/unit/classes/TestClassLoop.java new file mode 100644 index 0000000..4275153 --- /dev/null +++ b/test/unit/classes/TestClassLoop.java @@ -0,0 +1,20 @@ +package test.input; + +public class TestLoop { + + public static void main(String[] args) { + + boolean a = true; + while(true) { + try { + if(!a) { + return; + } + } finally { + System.out.println("1"); + } + } + + } + +} -- cgit v1.2.3