git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
73a381c
)
improved coverage for VarInt
author
Forrest Voight
<forrest@forre.st>
Wed, 31 Oct 2012 17:17:35 +0000 (13:17 -0400)
committer
Forrest Voight
<forrest@forre.st>
Wed, 31 Oct 2012 17:17:35 +0000 (13:17 -0400)
p2pool/test/util/test_pack.py
patch
|
blob
|
history
diff --git
a/p2pool/test/util/test_pack.py
b/p2pool/test/util/test_pack.py
index
cb5e2bd
..
07fad9b
100644
(file)
--- a/
p2pool/test/util/test_pack.py
+++ b/
p2pool/test/util/test_pack.py
@@
-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