r16082 - gnucash/trunk/src/engine/test-core - Limit the values of randomly generated numbers a little bit more.

David Hampton hampton at cvs.gnucash.org
Sun May 13 16:54:59 EDT 2007


Author: hampton
Date: 2007-05-13 16:54:57 -0400 (Sun, 13 May 2007)
New Revision: 16082
Trac: http://svn.gnucash.org/trac/changeset/16082

Modified:
   gnucash/trunk/src/engine/test-core/test-engine-stuff.c
Log:
Limit the values of randomly generated numbers a little bit more.
This prevents the test-lots case from dying when it attempts to divide
one split into two splits, and the ration of the two splits ends up
producing numbers less than 0.01.




More information about the gnucash-patches mailing list