0 branches
Tree
Top files
Clone with HTTPS:
bzip2 interop checker
This helper verifies interoperability between:
- V module:
compress.bzip2 - System CLI:
bzip2 - Python stdlib:
bz2It runs deterministic test vectors and compression levels, compresses each vector with all three producers, then cross-decompresses every produced stream with all three decoders.A case passes only if every decompressed output is byte-identical to the original input.Current levels are1,6, and9(seecompression_levelsinvlib/compress/bzip2/interop/bzip2_interop_check.vsh).
Run
v run vlib/compress/bzip2/interop/bzip2_interop_check.vsh
Requirements
bzip2available inPATHpython3withbz2