blob: 611e068893bc52c737e2f4cfa7d9747eec359c03 [file] [log] [blame]
Series of tests to ensure correct results of the winding rule in isPointInPath.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Testing default isPointInPath
PASS ctx.isPointInPath(50, 50) is true
Testing nonzero isPointInPath
PASS ctx.isPointInPath(50, 50, 'nonzero') is true
Testing evenodd isPointInPath
PASS ctx.isPointInPath(50, 50, 'evenodd') is false
PASS successfullyParsed is true
TEST COMPLETE