I want to implement some very simple C / C ++ unit tests for a function that needs to compress or decompress some data.
Basically, the input is a binary block, and the output is also a binary block. Binary blocks should be less than 50 bytes, possibly having 5-6 pairs.
I am looking for a solution that most likely will not require third-party libraries. If this requires it, you need to be very small / simple.
sorin source
share