diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_func_call_debug.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_func_call_debug.txt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/js/scripting-lang/scratch_tests/test_func_call_debug.txt b/js/scripting-lang/scratch_tests/test_func_call_debug.txt deleted file mode 100644 index 33f39a7..0000000 --- a/js/scripting-lang/scratch_tests/test_func_call_debug.txt +++ /dev/null @@ -1,22 +0,0 @@ -/* Debug test for function call evaluation */ -is_even : n -> n % 2 = 0; - -test_debug : n -> - when is_even n is - true then "even" - false then "odd"; - -/* Test the function call separately */ -result1 : is_even 4; -result2 : is_even 5; - -/* Test with explicit boolean comparison */ -test_explicit : n -> - when (is_even n = true) is - true then "even" - false then "odd"; - -result3 : test_explicit 4; -..out result1; -..out result2; -..out result3; \ No newline at end of file |