improved coverage for VarInt
[p2pool.git] / p2pool / test / util / test_pack.py
index cb5e2bd..07fad9b 100644 (file)
@@ -7,3 +7,5 @@ class Test(unittest.TestCase):
         t = pack.VarIntType()
         for i in xrange(2**20):
             assert t.unpack(t.pack(i)) == i
+        for i in xrange(2**36, 2**36+25):
+            assert t.unpack(t.pack(i)) == i