Use property-based testing
iphydf opened this issue · comments
iphydf commented
See https://github.com/BurntSushi/quickcheck
This is particularly useful for your binary_io functions: slice_to_u64(u64_to_slice(some_u64)) == some_u64
.
toxcore implementation in Rust. Codename zetox.
iphydf opened this issue · comments
See https://github.com/BurntSushi/quickcheck
This is particularly useful for your binary_io functions: slice_to_u64(u64_to_slice(some_u64)) == some_u64
.