diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_each_debug.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_each_debug.txt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/js/scripting-lang/scratch_tests/test_each_debug.txt b/js/scripting-lang/scratch_tests/test_each_debug.txt deleted file mode 100644 index 98bcac4..0000000 --- a/js/scripting-lang/scratch_tests/test_each_debug.txt +++ /dev/null @@ -1,28 +0,0 @@ -/* Debug test for each combinator */ - -/* Test basic each usage */ -numbers : {1, 2, 3, 4, 5}; -add_ten : x -> x + 10; - -/* Test 1: each with single table */ -result1 : each @add_ten numbers; -..out "Test 1 - each with single table:"; -..out result1; - -/* Test 2: each with table and scalar */ -result2 : each @add numbers 10; -..out "Test 2 - each with table and scalar:"; -..out result2; - -/* Test 3: each with two tables */ -table1 : {a: 1, b: 2, c: 3}; -table2 : {a: 10, b: 20, c: 30}; -result3 : each @add table1 table2; -..out "Test 3 - each with two tables:"; -..out result3; - -/* Test 4: each with partial application */ -add_to_ten : each @add 10; -result4 : add_to_ten numbers; -..out "Test 4 - each with partial application:"; -..out result4; \ No newline at end of file |