mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
Some extra tests for user data text
This commit is contained in:
parent
72a10c6ca1
commit
32b1348a97
@ -16,4 +16,7 @@ do
|
||||
assert(l.name == "My Layer")
|
||||
assert(l.opacity == 128)
|
||||
assert(l.blendMode == BlendMode.MULTIPLY)
|
||||
|
||||
l.data = "Data"
|
||||
assert(l.data == "Data")
|
||||
end
|
||||
|
@ -21,4 +21,7 @@ do
|
||||
assert(a.pivot == nil)
|
||||
a.pivot = Point(16, 17)
|
||||
assert(a.pivot == Point(16, 17))
|
||||
|
||||
a.data = "Data"
|
||||
assert(a.data == "Data")
|
||||
end
|
||||
|
@ -35,4 +35,7 @@ do
|
||||
assert(a.color == Color(0, 0, 0))
|
||||
a.color = Color(255, 0, 0)
|
||||
assert(a.color == Color(255, 0, 0))
|
||||
|
||||
a.data = "Data"
|
||||
assert(a.data == "Data")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user