Minor clean-up.

This commit is contained in:
Jürg Lehni 2011-03-07 00:01:26 +00:00
parent b1915fcb62
commit ded73129ad

View file

@ -11,13 +11,13 @@ test('placedSymbol bounds', function() {
'Path initial bounds.');
var symbol = new Symbol(path);
var placedSymbol = new PlacedSymbol(symbol);
// These tests currently fail because we haven't implemented
// Item#strokeBounds yet.
compareRectangles(placedSymbol.bounds,
new Rectangle(-50.5, -50.5, 101, 101),
'PlacedSymbol initial bounds.');
placedSymbol.scale(1, 0.5);
compareRectangles(placedSymbol.bounds,
{ x: -50.5, y: -25.25, width: 101, height: 50.5 },