diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_compose_order.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_compose_order.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/js/scripting-lang/scratch_tests/test_compose_order.txt b/js/scripting-lang/scratch_tests/test_compose_order.txt deleted file mode 100644 index 2866a6d..0000000 --- a/js/scripting-lang/scratch_tests/test_compose_order.txt +++ /dev/null @@ -1,12 +0,0 @@ -/* Test compose function order */ - -/* Create functions that show the order */ -first : x -> x * 10; -second : x -> x + 1; - -/* Test composition */ -composed : compose(first, second); -result : composed 5; -..out result; - -/* Expected: first(second(5)) = first(6) = 60 */ \ No newline at end of file |