tests/codecs (a-m): comments: specs only
This commit is contained in:
1 parent
a80299dce0
commit
5f7f6005f6
24 files changed
+46
-181
No files matched your search
@@ -1,7 +1,5 @@
|
||||
-- codecs/compress/Lz4 tests: every reference block (python-lz4 fast at accelerations 1 / 4 / 16, HC 4 / 9 / 12)
|
||||
-- decodes to its corpus, with and without the size; our encoder's blocks decode with the reference (fixture verdicts)
|
||||
-- and round trip here; linked blocks through decodeInto's history; error codes; truncated / mutated / random blocks
|
||||
-- never throw. Fixtures: tools/fixtures/lz4.py.
|
||||
-- codecs/compress/Lz4 tests: python-lz4 blocks (fast 1 / 4 / 16, HC 4 / 9 / 12), our encoder, linked blocks.
|
||||
-- Fixtures: tools/fixtures/lz4.py.
|
||||
local T = require("@tests/T")
|
||||
local Lz4 = require("@rosetta/codecs/compress/Lz4")
|
||||
local Err = require("@rosetta/core/Err")
|
||||
@@ -63,7 +61,6 @@ do
|
||||
t:check(b2 ~= nil, "second half")
|
||||
end
|
||||
|
||||
-- errors
|
||||
do
|
||||
local _, e1 = Lz4.decompress("")
|
||||
t:check(e1 and e1.code == Err.TRUNCATED, "empty: " .. tostring(e1))
|
||||
|
||||
Reference in new issue
Block a user