mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-30 12:19:04 +00:00
Test Cel.frame/frameNumber properties correctly
This commit is contained in:
parent
6d687cddab
commit
3ee484e5eb
@ -10,7 +10,9 @@ assert(#s.cels == 1)
|
||||
local c = s.cels[1]
|
||||
assert(c.sprite == s)
|
||||
assert(c.layer == s.layers[1])
|
||||
assert(c.frame == 1)
|
||||
assert(c.frame == s.frames[1])
|
||||
assert(c.frame.frameNumber == 1)
|
||||
assert(c.frameNumber == 1)
|
||||
assert(c.image)
|
||||
assert(c.bounds == Rectangle(0, 0, 32, 64))
|
||||
assert(c.position == Point(0, 0))
|
||||
|
Loading…
Reference in New Issue
Block a user