def test_add(): t1 = HyperLogLog(b=4) t1.add("TEST1") assert any(t1.M) Mmax = max(t1.M) t1.add("TEST1") assert Mmax == max(t1.M)