blob: 879e2649ef4c99db56f2efff18c312e2872abc54 [file] [log] [blame]
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)) is repeatedString("a", 10000)
PASS eval(repeatedExpression("letterA", "+", 100000)) threw exception Error: Out of memory.
PASS successfullyParsed is true
TEST COMPLETE