diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/MainTest.java | 2 | ||||
| -rw-r--r-- | test/resources/funcdef.bork | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/test/MainTest.java b/test/MainTest.java index d6171a5..1730a6b 100644 --- a/test/MainTest.java +++ b/test/MainTest.java @@ -25,7 +25,7 @@ public class MainTest { @Test public void testWholeProcedure() throws InterpreterException { - String input = "x <- 1 + 2"; + String input = "- + 2 5 1"; Main.run(input); } }
\ No newline at end of file diff --git a/test/resources/funcdef.bork b/test/resources/funcdef.bork new file mode 100644 index 0000000..8412129 --- /dev/null +++ b/test/resources/funcdef.bork @@ -0,0 +1,8 @@ +/* kommentti juu jee */ + +func my_func x y as + + x 1 + - y x +end + +my_func(1 2)
\ No newline at end of file |
