16 lines
769 B
Plaintext
16 lines
769 B
Plaintext
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
|
|
|