Define failing test for #206.

This commit is contained in:
Jürg Lehni 2013-04-24 18:55:00 -07:00
parent 62ffa8749c
commit 77292892ca

View file

@ -187,4 +187,12 @@ test('path.bounds & path.strokeBounds with stroke styles', function() {
compareRectangles(path.strokeBounds,
{ x: 484.01325, y: 301.78419, width: 143.50622, height: 133.64882 },
'round/miter path.strokeBounds');
});
test('path.strokeBounds with rectangles', function() {
var path = new paper.Path.Rectangle([100, 100], [100, 100]);
path.strokeWidth = 50;
compareRectangles(path.strokeBounds,
{ x: 50, y: 50, width: 200, height: 200 },
'path.strokeBounds');
});