01: package com.reeltwo.jumble.util;
02:
03: /**
04: * Class for testing java runner.
05: * @author Tin Pavlinic
06: * @version $Revision: 503 $
07: */
08: public class CheckAssertions2 {
09: // Private c'tor
10: private CheckAssertions2() {
11: }
12:
13: public static void main(String[] args) {
14: assert print("Assertions on");
15: }
16:
17: private static boolean print(String str) {
18: System.out.println(str);
19: return true;
20: }
21: }
|