diff options
Diffstat (limited to 'js/scripting-lang/tests/02_arithmetic_operations.txt')
-rw-r--r-- | js/scripting-lang/tests/02_arithmetic_operations.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/scripting-lang/tests/02_arithmetic_operations.txt b/js/scripting-lang/tests/02_arithmetic_operations.txt index 9c6ab37..d4c0648 100644 --- a/js/scripting-lang/tests/02_arithmetic_operations.txt +++ b/js/scripting-lang/tests/02_arithmetic_operations.txt @@ -8,16 +8,16 @@ sum : a + b; diff : a - b; product : a * b; quotient : a / b; -modulo : a % b; -power : a ^ b; +moduloResult : a % b; +powerResult : a ^ b; /* Test results */ ..assert sum = 13; ..assert diff = 7; ..assert product = 30; ..assert quotient = 3.3333333333333335; -..assert modulo = 1; -..assert power = 1000; +..assert moduloResult = 1; +..assert powerResult = 1000; /* Complex expressions with parentheses */ complex1 : (5 + 3) * 2; |