r15473 - gnucash/trunk - Fix the gnc-numeric test because using EXACT means we don't know

Derek Atkins warlord at cvs.gnucash.org
Tue Jan 30 19:13:50 EST 2007


Author: warlord
Date: 2007-01-30 19:13:48 -0500 (Tue, 30 Jan 2007)
New Revision: 15473
Trac: http://svn.gnucash.org/trac/changeset/15473

Modified:
   gnucash/trunk/
   gnucash/trunk/src/engine/test/test-numeric.c
Log:
Fix the gnc-numeric test because using EXACT means we don't know
what the denominator is going to be, so if it gets ints a state
where it's NOT overflowing then you won't get a denominator of 1
like the tests assumed.  So use gnc_numeric_equal() in the few
tests where that's an issue.  This should fix the test on Win32.




More information about the gnucash-patches mailing list