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

This commit is contained in:
4DBug committed 2026-11-01 01:50:53 -05:00
1 parent 98b4ce533e
commit a6732d45f2
23 files changed
+46 -177

No files matched your search

+2 -4
View File
@@ -1,6 +1,5 @@
-- codecs/compress/UnixCompress tests: ncompress 5.0 files (widths 10..16, block mode, CLEAR codes after the ratio
-- check, empty / one-byte / random inputs) decode to their inputs; compress() gives ncompress's bytes for the same input
-- and width; non-block-mode streams; errors; the fuzz pass. Fixtures: tools/fixtures/z.py.
-- codecs/compress/UnixCompress tests: ncompress 5.0 files decode, compress() gives ncompress's bytes, errors.
-- Fixtures: tools/fixtures/z.py.
local T = require("@tests/T")
local UnixCompress = require("@rosetta/codecs/compress/UnixCompress")
local Crc32 = require("@rosetta/core/Crc32")
@@ -45,7 +44,6 @@ do
t:eq(out and buffer.tostring(out), "ABABABA", "non-block mode")
end
-- errors
do
local _, e1 = UnixCompress.decompress("\31\157")
t:check(e1 and e1.code == Err.TRUNCATED, "short header")