about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_abs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_abs.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_abs.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/js/scripting-lang/scratch_tests/test_abs.txt b/js/scripting-lang/scratch_tests/test_abs.txt
deleted file mode 100644
index c83d644..0000000
--- a/js/scripting-lang/scratch_tests/test_abs.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Test abs function */
-abs : x -> when x is
-    x < 0 then -x
-    _ then x;
-
-result1 : abs -5;
-result2 : abs 5;
-
-..out result1;
-..out result2; 
\ No newline at end of file