test-lots and test-period fixed

Neil Williams linux at codehelp.co.uk
Wed Sep 28 18:38:36 EDT 2005


On Wednesday 28 September 2005 3:14 pm, Derek Atkins wrote:
> Well, if there is a "random" failure we should really figure out what it is
> that's failing.

Fixed. The routine was asking for a random integer between 0 and 40 and 
complaining when the value was < 1. Oops! Guess someone forgot the range in 
that line is 0 to 40 inclusive, not 1 to 39.

Changed the range to start from 1.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20050928/f9d97516/attachment.bin


More information about the gnucash-devel mailing list