From d0876b859d3789e7ec8c9ec18f4a04db3fc097c0 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 13 Aug 2002 02:24:25 +0000 Subject: [PATCH] test_division(): Added one larger digits value, to ensure that the "lopsided Karatsuba" driver also gets some exercise. --- Lib/test/test_long.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.50.0