def test_lookup(self): bf = BloomFilter(10, 3) bf.insert(12) self.assertTrue(bf.lookup(12), 'should detect it was inserted')
def test_insert(self): bf = BloomFilter(10, 3) bf.insert(12)