0 branches
Tree
Top files
Clone with HTTPS:
zlib interop checker
This helper verifies interoperability between:
- V module:
compress.zlib - C helper linked with
libz - Python stdlib:
zlibIt runs deterministic test vectors, compresses each vector with all three producers, then cross-decompresses every produced stream with all three consumers. A case passes only if every decompressed output is byte-identical to the original input.
Run
./vnew run vlib/compress/zlib/interop/zlib_interop.vsh
Requirements
python3with the stdlibzlibmodule- a C compiler (
cc,gcc, orclang) libzdevelopment headers and linker support (-lz)