tests/layered: comments: specs only
This commit is contained in:
1 parent
a07d4065a6
commit
58b0df8b21
3 files changed
+8
-30
No files matched your search
@@ -1,7 +1,5 @@
|
||||
-- layered/ora tests: OpenRaster files assembled by the spec (offsets, opacity, hidden, composite-ops, nested isolate /
|
||||
-- auto stacks, no merged image) against the attributes and pixels written there; our encoder's file taken apart by
|
||||
-- python (stored mimetype first, stack.xml, Pillow's read of every PNG); round trips; hooks; errors; the fuzz no-throw
|
||||
-- pass. Fixtures: tools/fixtures/ora.py.
|
||||
-- layered/ora tests: spec-assembled OpenRaster files; our encoder's output checked by python and Pillow.
|
||||
-- Fixtures: tools/fixtures/ora.py.
|
||||
local T = require("@tests/T")
|
||||
local Ora = require("@rosetta/layered/ora")
|
||||
local Png = require("@rosetta/image/png")
|
||||
@@ -67,7 +65,6 @@ for _, c in Fx.cases do
|
||||
if c.dpi then
|
||||
t:eq(doc.meta.dpi.x, c.dpi, c.name .. ": dpi")
|
||||
end
|
||||
-- round trip
|
||||
local enc, eerr = Ora.encode(doc, hooks)
|
||||
t:check(enc, c.name .. ": encode " .. tostring(eerr))
|
||||
local back = Ora.decode(Bytes.reader(enc :: buffer), hooks)
|
||||
|
||||
Reference in new issue
Block a user