1 Basic test for setLineDash, getLineDash and lineDashOffset
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS ctx.lineDashOffset is 0
9 PASS ctx.lineDashOffset is 5
11 PASS lineDash[1] is 10
12 PASS lineDash[2] is 15
14 PASS lineDash[4] is 10
15 PASS lineDash[5] is 15
18 PASS ctx.lineDashOffset is 5
19 PASS getPixel(25,10) is [0,255,0,255]
20 PASS getPixel(35,10) is [0,0,0,0]
21 PASS getPixel(40,25) is [0,255,0,255]
22 PASS getPixel(40,35) is [0,0,0,0]
23 PASS getPixel(25,40) is [0,255,0,255]
24 PASS getPixel(15,40) is [0,0,0,0]
25 PASS getPixel(10,25) is [0,255,0,255]
26 PASS getPixel(10,15) is [0,0,0,0]
27 PASS getPixel(55,10) is [0,0,0,0]
28 PASS getPixel(65,10) is [0,255,0,255]
29 PASS getPixel(80,15) is [0,0,0,0]
30 PASS getPixel(80,25) is [0,255,0,255]
31 PASS getPixel(75,40) is [0,0,0,0]
32 PASS getPixel(65,40) is [0,255,0,255]
33 PASS getPixel(50,35) is [0,0,0,0]
34 PASS getPixel(50,25) is [0,255,0,255]
35 PASS getPixel(95,10) is [0,0,0,0]
36 PASS getPixel(105,10) is [0,255,0,255]
37 PASS getPixel(120,15) is [0,0,0,0]
38 PASS getPixel(120,25) is [0,255,0,255]
39 PASS getPixel(115,40) is [0,0,0,0]
40 PASS getPixel(105,40) is [0,255,0,255]
41 PASS getPixel(90,35) is [0,0,0,0]
42 PASS getPixel(90,25) is [0,255,0,255]
43 PASS successfullyParsed is true