tests/codecs (a-m): comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:50:19 -05:00
1 parent a80299dce0
commit 5f7f6005f6
24 files changed
+46 -181

No files matched your search

+2 -4
View File
@@ -1,6 +1,5 @@
-- codecs/image/Etc tests: random ETC1 / ETC2 (every mode: individual, differential, T, H, planar; RGB A1 opaque and
-- transparent; RGBA with EAC alpha) and EAC R11 / RG11 (unsigned, signed, multiplier 0) blocks against Godot 4's
-- decode (etcpak); odd sizes; the 16-bit EAC output; errors; the fuzz no-throw pass. Fixtures: tools/fixtures/etc.py.
-- codecs/image/Etc tests: random ETC1 / ETC2 / EAC blocks against Godot 4's decode (etcpak), the 16-bit EAC output.
-- Fixtures: tools/fixtures/etc.py.
local T = require("@tests/T")
local Etc = require("@rosetta/codecs/image/Etc")
local Fx = require("@tests/gen/etc")
@@ -99,7 +98,6 @@ for _, c in Fx do
end
t:check(ok, c.name .. ": rgba16 ~ rgba8")
end
-- from / into offsets
local big = buffer.create(buffer.len(src) + 3)
buffer.copy(big, 3, src)
local out = buffer.create(n * 4 + 4)