We should have tests for atleast serialization/deserialization, correctness of sketch insertion/estimation/merging logic.
datasketches has a test suite and we understand what they do and emulate it here.
Apart from reducing possible bugs, having these tests will also allow us to explore optimizations more aggressively, as we have to worry less about introducing bugs.
cc @GordonYuanyc @zzylol
We should have tests for atleast serialization/deserialization, correctness of sketch insertion/estimation/merging logic.
datasketches has a test suite and we understand what they do and emulate it here.
Apart from reducing possible bugs, having these tests will also allow us to explore optimizations more aggressively, as we have to worry less about introducing bugs.
cc @GordonYuanyc @zzylol