Some extra tests for user data text

This commit is contained in:
David Capello 2020-10-13 11:52:35 -03:00
parent 72a10c6ca1
commit 32b1348a97
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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