mcmilk / zstdmt

Multithreading Library for Brotli, Lizard, LZ4, LZ5, Snappy and Zstandard
Other
181 stars 33 forks source link

add full test & fix a compile warning #10

Closed jinfeihan57 closed 4 years ago

jinfeihan57 commented 4 years ago

To avoid code errors, especially run errors. I added a test . Test method: randomly generate 7M (you can change it. I think 7M is enough Each method uses multiple threads) data for compression and decompression and compare whether it is consistent before and after. (All algorithms will be tested)