Example #1
0
 def test_add(self):
     m = MaxHash(8192)
     m.add(str(1))
     m.add(str(2))
     m.add(str(3))
     m.add(str(4))
     self.assertEqual(len(m.uniq()), 4)