The following changes have been made:
- The test has been adjusted to zlibutil's changed behavior.
- The output of zlibutil isn’t checked against static data, instead it hands
the compressed file to another decompressor. This was done because the exact
output can change with updates to zlib itself (this appears to have happened
in my case).
- The new test works with random data, reducing the likelihood of false passes.
- The new decompression test works with its own file for the same reason.
This tool allows for easy conversion between relevant bases
for unsigned numbers.
You may be able to coerce it into converting signed numbers into
unsigned numbers if you know how, though that is not an officially
supported use case (aka that’s using UB in the STL).