Commit graph

25 commits

Author SHA1 Message Date
John Wiegley
1d065bf0dc Copied over all of the C++ tests to Python again. 2008-04-13 03:38:43 -04:00
John Wiegley
42d799a1fd Added tests to complete coverage. 2008-04-13 03:38:42 -04:00
John Wiegley
4e9056b6ce It is now an error to use an uninitialized amount for any operation
other than is_null and parse.
2008-04-13 03:38:42 -04:00
John Wiegley
a99695f69b More test reorg. 2008-04-13 03:38:40 -04:00
John Wiegley
39b0a03f82 Changed the filenames of the tests. 2008-04-13 03:38:40 -04:00
John Wiegley
6ec2f6b59b Reconfigure some of the operators. 2008-04-13 03:38:40 -04:00
John Wiegley
d849837203 Major restructuring of the value_t class. 2008-04-13 03:38:39 -04:00
John Wiegley
c211335760 Extended Python amount class. 2008-04-13 03:38:39 -04:00
John Wiegley
0214a136c2 Work to get Python tests running again. 2008-04-13 03:38:37 -04:00
John Wiegley
103881ff80 First round of using boost/operators is done. 2008-04-13 03:38:35 -04:00
John Wiegley
c8899addfd Rearranged the sources a bit. 2008-04-13 03:38:33 -04:00
John Wiegley
a85bd282d7 Pounded the logging and memory tracing code into better shape. 2008-04-13 03:38:32 -04:00
John Wiegley
d0e9822ed1 Moved around the Python code. 2008-04-13 03:38:32 -04:00
John Wiegley
6853db57e6 All tests now working again. Reduced size of entity_t and
transaction_t considerably.
2008-04-13 03:38:30 -04:00
John Wiegley
be9f18ccfe Reduced memory consumption of register report. 2008-04-13 03:38:30 -04:00
John Wiegley
0a6b5726ec Made the amount/balance/value interface a bit more rational; added
back a useless version of the register command (just to prove the
 command sequence); and added smart XML semantics to the XPath
 implementation so that nodes can be coerced to values.
2008-04-13 03:38:28 -04:00
John Wiegley
086ea40d99 We now compile with boost_date_time (although parts of the code have
been stubbed out as a result).
2008-04-13 03:38:17 -04:00
John Wiegley
f63ce06461 Added stubs for several more commodity tests. 2008-04-13 03:35:36 -04:00
John Wiegley
f5956311af Completed commodity math tests. 2008-04-13 03:35:36 -04:00
John Wiegley
0f2cad4cab Got most of the commodity tests working, save multiplication and division. 2008-04-13 03:35:36 -04:00
John Wiegley
e43f54f249 Started adding commodity tests 2008-04-13 03:35:35 -04:00
John Wiegley
e7f9486f6e Finished uncommoditized amount unit tests. 2008-04-13 03:35:35 -04:00
John Wiegley
b27b34a76f Added a reference to gdtoa, for doing expected conversion of double to amount. 2008-04-13 03:35:33 -04:00
John Wiegley
205351c9f9 Added python tests. 2008-04-13 03:35:33 -04:00
John Wiegley
fc6b8837ec Added python tests. 2008-04-13 03:35:33 -04:00