mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Add failing Symbol test.
This commit is contained in:
parent
de22e48ef2
commit
88a3f0a345
1 changed files with 9 additions and 0 deletions
|
@ -26,3 +26,12 @@ test('placedSymbol bounds', function() {
|
|||
{ x: -42.04736, y: -37.91846, width: 84.09473, height: 75.83691 },
|
||||
'Bounds after rotation.');
|
||||
});
|
||||
|
||||
test('Symbol definition selection', function() {
|
||||
var path = new Path.Circle([50, 50], 50);
|
||||
path.selected = true;
|
||||
var symbol = new Symbol(path);
|
||||
equals(function() {
|
||||
return symbol.definition.selected = false;
|
||||
}, true);
|
||||
});
|
Loading…
Reference in a new issue