tests/image: comments: specs only
This commit is contained in:
1 parent
e306d5c1d7
commit
a80299dce0
27 files changed
+32
-199
No files matched your search
@@ -1,7 +1,4 @@
|
||||
-- image/icns tests: a libicns file (RLE entries + masks, JPEG 2000 entries skipped), a Pillow file (PNG entries through
|
||||
-- the decodeImage hook) and a hand-written one (ics#, raw is32, ic04 ARGB) against icns2png's / the written pixels;
|
||||
-- our RLE file read back by icns2png; PNG entries through encodeImage; errors; the fuzz no-throw pass. Fixtures:
|
||||
-- tools/fixtures/icns.py.
|
||||
-- image/icns tests against libicns' icns2png and Pillow (tools/fixtures/icns.py).
|
||||
local T = require("@tests/T")
|
||||
local Icns = require("@rosetta/image/icns")
|
||||
local Png = require("@rosetta/image/png")
|
||||
@@ -55,7 +52,6 @@ end
|
||||
t:note("%d files and our encoder's file match", #Fx.cases)
|
||||
|
||||
do
|
||||
-- PNG entries through the hooks, legacy entries without them
|
||||
local img = Types.Image.new(64, 64)
|
||||
for i = 0, 64 * 64 - 1 do
|
||||
buffer.writeu32(img.pixels, i * 4, i * 2654435761 % 4294967296)
|
||||
|
||||
Reference in new issue
Block a user