gendx/lzma-rs

Add tests against reference libraries

Aperta

#20 aperta il 11 dic 2019

 (1 commento) (2 reazioni) (0 assegnatari)Rust (37 fork)auto 404
good first issuetesting

Metriche repository

Star
 (151 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

To check that the implementation is correct, there should be tests against reference libraries such as https://crates.io/crates/lzma-sys, for example:

  • compressing with one implementation and decompressing with the other,
  • decompressing with both implementations and checking that the result (or error) is the same.

Guida contributor