Rect tests are now passing

This commit is contained in:
Eric Rowell
2013-12-01 23:47:24 -08:00
parent 9c3be4bb05
commit 722ae82f21
5 changed files with 137 additions and 335 deletions

View File

@@ -15,6 +15,8 @@ suite('Rect', function(){
stroke: 'blue'
});
console.log(rect)
layer.add(rect);
stage.add(layer);
@@ -45,7 +47,7 @@ suite('Rect', function(){
stroke: 'blue',
shadowColor: 'red',
shadowBlur: 10,
shadowOffset: 5,
shadowOffset: {x: 5, y: 5},
shadowOpacity: 0.5,
opacity: 0.4,
cornerRadius: 5
@@ -82,10 +84,8 @@ suite('Rect', function(){
fill: 'green',
stroke: 'black',
strokeWidth: 4,
offset: {
x: 50
},
scale: [2, 2],
offset: {x: 50, y: 0},
scale: {x: 2, y: 2},
cornerRadius: 15,
draggable: true
});