diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_complex_expr_debug.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_complex_expr_debug.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/js/scripting-lang/scratch_tests/test_complex_expr_debug.txt b/js/scripting-lang/scratch_tests/test_complex_expr_debug.txt deleted file mode 100644 index 0ca7265..0000000 --- a/js/scripting-lang/scratch_tests/test_complex_expr_debug.txt +++ /dev/null @@ -1,16 +0,0 @@ -/* Test complex expression in multi-value pattern */ - -/* Test the complex expression directly */ -test_expr : age -> age >= 0 and age <= 120; - -/* Test with complex expression */ -validate_user : name age -> - when (name != "") (test_expr age) is - true true then "valid user" - true false then "invalid age" - false true then "invalid name" - false false then "invalid user"; - -/* Test user validation */ -valid_user : validate_user "Alice" 30; -..out valid_user; \ No newline at end of file |