This tests behaviour of path modification APIs on an empty path. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". Test lineTo PASS getColor(40,40) is [0,128,0,255] Test canvas.rect() with width = height = 0. PASS getColor(1,1) is [0,0,0,0] Test lineTo sequence FAIL getColor(0,0) should be 255,0,0,255. Was 0,0,255,255. PASS getColor(50,50) is [0,128,0,255] Test quadraticCurveTo FAIL getColor(10,10) should be 255,0,0,255. Was 0,0,255,255. PASS getColor(50,50) is [0,128,0,255] Test quadraticCurveTo endpoint FAIL getColor(10,10) should be 255,0,0,255. Was 0,0,255,255. PASS getColor(99,51) is [0,128,0,255] PASS getColor(50,50) is [0,128,0,255] Test bezierCurveTo FAIL getColor(10,10) should be 255,0,0,255. Was 0,0,255,255. PASS getColor(50,50) is [0,128,0,255] Test bezierCurveTo endpoint FAIL getColor(10,10) should be 255,0,0,255. Was 0,0,255,255. PASS getColor(99,51) is [0,128,0,255] PASS getColor(50,50) is [0,128,0,255] PASS successfullyParsed is true TEST COMPLETE