diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_simple_function.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_simple_function.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_simple_function.txt b/js/scripting-lang/scratch_tests/test_simple_function.txt new file mode 100644 index 0000000..3f8ece7 --- /dev/null +++ b/js/scripting-lang/scratch_tests/test_simple_function.txt @@ -0,0 +1,9 @@ +/* Simple function test */ + +// Just create a function +simple_func : x -> x; + +// Test it +..out "=== SIMPLE FUNCTION TEST ==="; +result : simple_func 5; +..out result; \ No newline at end of file |