def test_rho(): t1 = HyperLogLog() assert 1 == t1.rho(0b10101010101, width=11) assert 4 == t1.rho(0b00011010101, width=11) assert 5 == t1.rho(0b0000, width=4)