mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 10:48:38 -05:00
Define failing test for #206.
This commit is contained in:
parent
62ffa8749c
commit
77292892ca
1 changed files with 8 additions and 0 deletions
|
@ -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');
|
||||
});
|
Loading…
Reference in a new issue