blob: 00f8c43fa970937fa2c483e580f3c70ee9b8dcbd [file] [log] [blame]
This tests that converting a boxed double to an integer does not crash the register allocator.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS boxedDoubleToInt(1, 2) is 3.5
PASS boxedDoubleToInt(3, 4) is 4.5
PASS boxedDoubleToInt(5, 6) is 7.5
PASS boxedDoubleToInt(7, 8) is 8.5
PASS boxedDoubleToInt(9, 10) is 11.5
PASS successfullyParsed is true
TEST COMPLETE