Example #1
0
 def testPrintHLL(self):
     """
     Make sure we're printing all right
     """
     print >> sys.stderr, "Testing HyperLogLog.__repr__()..."
     hll = HyperLogLog(16)
     self.assertEquals(hll.__repr__(), str([0L] * 16))
Example #2
0
 def testPrintHLL(self):
     """
     Make sure we're printing all right
     """
     print >> sys.stderr, "Testing HyperLogLog.__repr__()..."
     hll = HyperLogLog(16)
     self.assertEquals(hll.__repr__(), str([0L] * 16))