Commit graph

16 commits

Author SHA1 Message Date
John Wiegley
cce65b8dd2 Added a more efficient amount_t::operator==, which changed semantics slightly. 2009-01-31 04:58:16 -04:00
John Wiegley
e9ff5caa13 Rationals based math is now passing the unit tests. 2009-01-31 04:25:05 -04:00
John Wiegley
5ec98f3ed3 Several corrections to the way rationals are handled. 2009-01-31 01:25:29 -04:00
John Wiegley
e4c7df4002 Don't perform rounding tests in Python. 2009-01-31 01:22:51 -04:00
John Wiegley
b42ef31d93 Make amounts output fullstrings in the commodity unit tests. 2009-01-31 01:22:23 -04:00
John Wiegley
f1257cbc3e Removed all dependency on gdtoa. 2009-01-30 16:19:31 -04:00
John Wiegley
9495ca740b Fixed the amount_t unit test. 2009-01-30 00:43:54 -04:00
John Wiegley
ef934efb3a Added a slew of date/time format tests (inactive, however). 2009-01-30 00:41:23 -04:00
John Wiegley
e851c02d27 Unit test for Python are now auto-generated from the C++ tests. 2009-01-28 20:49:26 -04:00
John Wiegley
79a7976600 Reorganized Ledger so that it builds as 7 separate libraries. This is mainly
to prove to myself that it has proper decoupling between prior code areas.
2009-01-25 01:10:05 -04:00
John Wiegley
49b83c0d6f Further extended commodities unit test. 2009-01-19 20:05:18 -04:00
John Wiegley
85be211f99 Extended commodities unit test. 2009-01-19 19:58:59 -04:00
John Wiegley
009dd3969a Added a recursive, date-based commodity price searching capability. This
makes it possible to find all possible prices for a commodity by walking the
map of pricing relationships to all other commodities, even if the relation is
distant.
2009-01-19 17:48:27 -04:00
John Wiegley
9c1389f423 Increase code coverage of the unit tests. 2008-08-13 18:21:39 -04:00
John Wiegley
54f2a8012f Moved several tests around again (python/test -> test/python). 2008-08-06 18:23:50 -04:00
John Wiegley
36cd816404 Moved the test sources around, so that all the unit tests are in test/unit. 2008-08-05 19:48:42 -04:00