tests: don't use `pop' hack anymore, but System.out.printf \o/
[mate.git] / tests / While.java
index 929b56b14c22d3e68bc4351fdac06cde2096df05..d34f959f6e495a8e86a62bc8734ec21d635e74c6 100644 (file)
@@ -1,6 +1,11 @@
 package tests;
 
 public class While {
+       public static void main(String []args) {
+               System.out.printf("result: f: 0x%08x\n", f(4, 6));
+               System.out.printf("result: g: 0x%08x\n", g(4, 6));
+       }
+
        public static int f(int a, int b) {
                do {
                        a += b;