blob: 779ff949a6d234ae41bf2d978379b66718be2f87 [file] [log] [blame]
Tests CanvasPathMethods ellipse with negative radii.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ctx.ellipse(10, 10, 10, 5, 0, 0, 1, false) did not throw exception.
PASS ctx.ellipse(10, 10, 10, 0, 0, 0, 1, false) did not throw exception.
PASS ctx.ellipse(10, 10, -0, 5, 0, 0, 1, false) did not throw exception.
PASS ctx.ellipse(10, 10, -2, 5, 0, 0, 1, false) threw exception IndexSizeError: The index is not in the allowed range..
PASS ctx.ellipse(10, 10, 0, -1.5, 0, 0, 1, false) threw exception IndexSizeError: The index is not in the allowed range..
PASS ctx.ellipse(10, 10, -2, -5, 0, 0, 1, false) threw exception IndexSizeError: The index is not in the allowed range..
PASS successfullyParsed is true
TEST COMPLETE