Added tests for flow control IMP.
[vvhitespace] / vv_test.py
index 4a31280..68b4db8 100755 (executable)
@@ -24,6 +24,13 @@ tests = [
         ['2003_arithmetic_multiplication', 'B'],
         ['2004_arithmetic_division', 'A'],
         ['2005_arithmetic_remainder', 'A'],
         ['2003_arithmetic_multiplication', 'B'],
         ['2004_arithmetic_division', 'A'],
         ['2005_arithmetic_remainder', 'A'],
+        ['3001_heap', 'BCA'],
+        ['4001_flowcontrol_exit', ''],
+        ['4002_flowcontrol_unconditional_jump_to_label', 'A'],
+        ['4003_flowcontrol_jump_if_tos_is_zero', 'A'],
+        ['4004_flowcontrol_jump_if_tos_is_negative', 'A'],
+        ['4005_flowcontrol_jump_to_subroutine', 'A'],
+        ['4006_flowcontrol_return_from_subroutine', 'A'],
         ] 
 
 for test in tests:
         ] 
 
 for test in tests: