From: Zac Medico Date: Mon, 17 Aug 2009 21:56:16 +0000 (-0000) Subject: Test the edge case. X-Git-Tag: v2.2_rc39~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6675f545519dab7efaac1f8c49b8ba10a6f41972;p=portage.git Test the edge case. svn path=/main/trunk/; revision=14077 --- 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)