diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_and_parentheses.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_and_parentheses.txt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/js/scripting-lang/scratch_tests/test_and_parentheses.txt b/js/scripting-lang/scratch_tests/test_and_parentheses.txt deleted file mode 100644 index f799e63..0000000 --- a/js/scripting-lang/scratch_tests/test_and_parentheses.txt +++ /dev/null @@ -1,13 +0,0 @@ -/* Test if parentheses can solve the and operator issue */ - -/* Test the complex expression with parentheses */ -test_expr_parens : age -> (age >= 0) and (age <= 120); - -/* Test with different values */ -result1 : test_expr_parens 30; /* Should be true */ -result2 : test_expr_parens 150; /* Should be false */ -result3 : test_expr_parens -5; /* Should be false */ - -..out result1; -..out result2; -..out result3; \ No newline at end of file |