[Python-checkins] python/dist/src/Lib/test test_long.py,1.18,1.19

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Mon, 12 Aug 2002 19:24:27 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv23067/python/Lib/test

Modified Files:
	test_long.py 
Log Message:
test_division():  Added one larger digits value, to ensure that the
"lopsided Karatsuba" driver also gets some exercise.


Index: test_long.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_long.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** test_long.py	13 Aug 2002 02:17:11 -0000	1.18
--- test_long.py	13 Aug 2002 02:24:25 -0000	1.19
***************
*** 93,97 ****
          print "long / * % divmod"
      digits = range(1, maxdigits+1) + range(KARATSUBA_CUTOFF,
!                                            KARATSUBA_CUTOFF + 15)
      for lenx in digits:
          x = getran(lenx)
--- 93,98 ----
          print "long / * % divmod"
      digits = range(1, maxdigits+1) + range(KARATSUBA_CUTOFF,
!                                            KARATSUBA_CUTOFF + 14)
!     digits.append(KARATSUBA_CUTOFF * 3)
      for lenx in digits:
          x = getran(lenx)