about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_grade.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_grade.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_grade.txt15
1 files changed, 0 insertions, 15 deletions
diff --git a/js/scripting-lang/scratch_tests/test_grade.txt b/js/scripting-lang/scratch_tests/test_grade.txt
deleted file mode 100644
index 730987c..0000000
--- a/js/scripting-lang/scratch_tests/test_grade.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-/* Test grade function */
-grade : score -> 
-  when score is
-    90 then "A"
-    80 then "B"
-    70 then "C"
-    _  then "F";
-
-result1 : grade 95;
-result2 : grade 85;
-result3 : grade 65;
-
-..out result1;
-..out result2;
-..out result3; 
\ No newline at end of file