diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_logical_and_debug.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_logical_and_debug.txt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/js/scripting-lang/scratch_tests/test_logical_and_debug.txt b/js/scripting-lang/scratch_tests/test_logical_and_debug.txt deleted file mode 100644 index 97251b7..0000000 --- a/js/scripting-lang/scratch_tests/test_logical_and_debug.txt +++ /dev/null @@ -1,26 +0,0 @@ -/* Test logicalAnd function directly */ - -/* Test individual comparisons */ -test1 : (-5) >= 0; /* Should be false */ -test2 : (-5) <= 120; /* Should be true */ - -/* Test logicalAnd with these values */ -result1 : logicalAnd test1 test2; /* false && true = false */ -result2 : logicalAnd test2 test1; /* true && false = false */ - -/* Test the original expression step by step */ -step1 : (-5) >= 0; /* false */ -step2 : (-5) <= 120; /* true */ -step3 : logicalAnd step1 step2; /* false && true = false */ - -/* Test with parentheses */ -parens_test : logicalAnd ((-5) >= 0) ((-5) <= 120); - -..out test1; -..out test2; -..out result1; -..out result2; -..out step1; -..out step2; -..out step3; -..out parens_test; \ No newline at end of file |