| This test checks behavior with expressions that create deep parse trees. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS eval(repeatedExpression("letterA", "+", 100)) is repeatedString("a", 100) |
| PASS eval(repeatedExpression("letterA", "+", 1000)) is repeatedString("a", 1000) |
| PASS eval(repeatedExpression("letterA", "+", 10000)) threw exception SyntaxError: Expression too deep. |
| PASS eval(repeatedExpression("letterA", "+", 100000)) threw exception SyntaxError: Expression too deep. |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |