projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae78973
)
Test the edge case.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 17 Aug 2009 21:56:16 +0000
(21:56 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 17 Aug 2009 21:56:16 +0000
(21:56 -0000)
svn path=/main/trunk/; revision=14077
pym/portage/tests/xpak/test_decodeint.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/xpak/test_decodeint.py
b/pym/portage/tests/xpak/test_decodeint.py
index c0f3264dbd1cc4aef23eafe9c5fbaf54cf5b38f2..27e8ab7cf841abc1a4edbe7eb488140fa6b355cb 100644
(file)
--- a/
pym/portage/tests/xpak/test_decodeint.py
+++ b/
pym/portage/tests/xpak/test_decodeint.py
@@
-12,3
+12,6
@@
class testDecodeIntTestCase(TestCase):
for n in xrange(1000):
self.assertEqual(decodeint(encodeint(n)), n)
+
+ for n in (2 ** 32 - 1,):
+ self.assertEqual(decodeint(encodeint(n)), n)