Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
10 additions
and
0 deletions.
-
+10
−0
test/tests/view.coffee
|
@@ -48,6 +48,16 @@ describe "View", -> |
|
|
view.y.should.equal frame.y |
|
|
view.width.should.equal frame.width |
|
|
view.height.should.equal frame.height |
|
|
|
|
|
it "should set frame to 0", -> |
|
|
view = createView() |
|
|
frame = {x:200, y:200, width:0, height:0} |
|
|
view.frame = frame |
|
|
# view.frame.should.eql frame |
|
|
view.x.should.equal frame.x |
|
|
view.y.should.equal frame.y |
|
|
view.width.should.equal frame.width |
|
|
view.height.should.equal frame.height |
|
|
|
|
|
describe "Scale", -> |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.