diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-08-17 21:56:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-08-17 21:56:16 +0000 |
commit | 6675f545519dab7efaac1f8c49b8ba10a6f41972 (patch) | |
tree | d980aa938dcb2d8818acdbe95d2474b559548769 | |
parent | ae789730159b665971b551287a85a85c1c7eaa9a (diff) | |
download | portage-6675f545519dab7efaac1f8c49b8ba10a6f41972.tar.gz portage-6675f545519dab7efaac1f8c49b8ba10a6f41972.tar.bz2 portage-6675f545519dab7efaac1f8c49b8ba10a6f41972.zip |
Test the edge case.
svn path=/main/trunk/; revision=14077
-rw-r--r-- | pym/portage/tests/xpak/test_decodeint.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/xpak/test_decodeint.py b/pym/portage/tests/xpak/test_decodeint.py index c0f3264db..27e8ab7cf 100644 --- 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) |