diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_minus_debug.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_minus_debug.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_minus_debug.txt b/js/scripting-lang/scratch_tests/test_minus_debug.txt new file mode 100644 index 0000000..d81107b --- /dev/null +++ b/js/scripting-lang/scratch_tests/test_minus_debug.txt @@ -0,0 +1,12 @@ +/* Debug minus operator */ + +x : 42; +y : 10; + +/* Test binary minus */ +result1 : x - y; +..out result1; + +/* Test unary minus */ +result2 : -x; +..out result2; \ No newline at end of file |