From: Tim Peters Date: Tue, 13 Aug 2002 02:24:25 +0000 (+0000) Subject: test_division(): Added one larger digits value, to ensure that the X-Git-Tag: v2.3c1~4511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0876b859d3789e7ec8c9ec18f4a04db3fc097c0;p=python test_division(): Added one larger digits value, to ensure that the "lopsided Karatsuba" driver also gets some exercise. --- diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py index 4602bfb0b1..f5416d3d87 100644 --- a/Lib/test/test_long.py +++ b/Lib/test/test_long.py @@ -92,7 +92,8 @@ def test_division(maxdigits=MAXDIGITS): if verbose: print "long / * % divmod" digits = range(1, maxdigits+1) + range(KARATSUBA_CUTOFF, - KARATSUBA_CUTOFF + 15) + KARATSUBA_CUTOFF + 14) + digits.append(KARATSUBA_CUTOFF * 3) for lenx in digits: x = getran(lenx) for leny in digits: