mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-03-28 14:27:00 +00:00
Improve test for colors.fromBlit to show inverse
This commit is contained in:
parent
98ee37719d
commit
25ab7d0dcb
@ -103,7 +103,7 @@ describe("The colors library", function()
|
|||||||
|
|
||||||
it("converts all colors", function()
|
it("converts all colors", function()
|
||||||
for i = 0, 15 do
|
for i = 0, 15 do
|
||||||
expect(colors.fromBlit(string.format("%x", i))):eq(2 ^ i)
|
expect(colors.fromBlit(colors.toBlit(2 ^ i))):eq(2 ^ i)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user