paper.js/test/tests/Path.js
2011-02-12 17:49:09 +01:00

9 lines
No EOL
194 B
JavaScript

module('Path');
test('path.currentSegment', function() {
var path = new Path();
path.moveTo([50, 50]);
path.lineTo([100, 100]);
compareSegments(path.segments[1], path.currentSegment);
});