1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-03-21 10:56:58 +00:00

Improve test for colors.fromBlit to show inverse

This commit is contained in:
Erlend 2023-05-17 20:16:47 +02:00
parent 98ee37719d
commit 25ab7d0dcb

View File

@ -103,7 +103,7 @@ describe("The colors library", function()
it("converts all colors", function()
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)