aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/MainTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MainTest.java b/test/MainTest.java
index fec91a7..256998d 100644
--- a/test/MainTest.java
+++ b/test/MainTest.java
@@ -21,4 +21,10 @@ public class MainTest {
String[] fileTestArgument = {"-f", "test.file"};
assertTrue(Main.parseArguments(fileTestArgument));
}
+
+ @Test
+ public void testWholeProcedure() {
+ String input = "x <- 1 + 2";
+ Main.run(input);
+ }
} \ No newline at end of file