OLD | NEW |
1 Series of tests to ensure correct results of the winding rule in isPointInPath. | 1 Series of tests to ensure correct results of the winding rule in isPointInPath. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Testing default isPointInPath | 6 Testing default isPointInPath |
7 PASS ctx.isPointInPath(50, 50) is true | 7 PASS ctx.isPointInPath(50, 50) is true |
8 | 8 |
9 Testing nonzero isPointInPath | 9 Testing nonzero isPointInPath |
10 PASS ctx.isPointInPath(50, 50, 'nonzero') is true | 10 PASS ctx.isPointInPath(50, 50, 'nonzero') is true |
11 | 11 |
12 Testing evenodd isPointInPath | 12 Testing evenodd isPointInPath |
13 PASS ctx.isPointInPath(50, 50, 'evenodd') is false | 13 PASS ctx.isPointInPath(50, 50, 'evenodd') is false |
14 | 14 |
| 15 Testing default isPointInPath with Path object |
| 16 PASS ctx.isPointInPath(path, 50, 50) is true |
| 17 |
| 18 Testing nonzero isPointInPath with Path object |
| 19 PASS ctx.isPointInPath(path, 50, 50, 'nonzero') is true |
| 20 |
| 21 Testing evenodd isPointInPath with Path object |
| 22 PASS ctx.isPointInPath(path, 50, 50, 'evenodd') is false |
| 23 |
15 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
16 | 25 |
17 TEST COMPLETE | 26 TEST COMPLETE |
18 | 27 |
OLD | NEW |