Test __eq of ColorSpace

This commit is contained in:
David Capello 2019-01-03 13:52:13 -03:00
parent c6d3e0c948
commit 3e98c69e76

View File

@ -6,3 +6,7 @@
local spr = Sprite(32, 32)
local cs = spr.spec.colorSpace
assert(cs.name == "sRGB") -- Default color profile
local spr2 = Sprite(32, 32)
local cs2 = spr.spec.colorSpace
assert(cs == cs2)