dcwatson / deflate

Python extension wrapper for libdeflate.
MIT License
25 stars 6 forks source link

tests? #13

Closed ThomasWaldmann closed 2 years ago

ThomasWaldmann commented 2 years ago

would be cool to have some tests for the code, like:

todo?:

Can't be done / out of scope:

ThomasWaldmann commented 2 years ago

Hmm, I don't see how I could test the different internal implementations. Would need to force a specific one via the python api, but guess that is not possible (yet?).

zlib / gzip compat: seems like the deflate_compressed data is different for the same input data. but guess if this is not intended / expected, that is rather an issue for the libdeflate project, not for the python wrapper.

speed test: would you like to have that?