Make a test suite for Cint32.sol
Mostly, check that a list of numbers stay within 0.1% after compress -> decompress., and are always larger than the result. some numbers that may give problems:
0
2^24
2^32
2^255
try for numbers immediately above and below them. and test for a bunch of random numbers of different scales.
Make a test suite for Cint32.sol Mostly, check that a list of numbers stay within 0.1% after compress -> decompress., and are always larger than the result. some numbers that may give problems:
try for numbers immediately above and below them. and test for a bunch of random numbers of different scales.