blob: a1eb3f12ed0f1514d2d2fe38db2fdc89b5172c2c [file] [log] [blame]
This tests getPointAtLength of SVG path.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS pointAtLengthOfPath('M0,20 L400,20 L640,20') is '(640, 20)'
PASS pointAtLengthOfPath('M0,20 L400,20 L640,20 z') is '(580, 20)'
PASS pointAtLengthOfPath('M0,20 L400,20 z M 320,20 L640,20') is '(100, 20)'
PASS pointAtLengthOfPath('M0,20 L20,40') is '(20, 40)'
PASS successfullyParsed is true
TEST COMPLETE