Commit graph

19 commits

Author SHA1 Message Date
John Wiegley
74ecceb2ba Revised xpath_t::path_t 2008-04-13 03:38:52 -04:00
John Wiegley
8e20c378d6 The unit tests for amount.cc now cover every part of the code except
for two: those concerning annotated commodities (which will be covered
in the t_commodity.cc tests) and reading of optimized amounts in the
binary journal reader.
2008-04-13 03:38:42 -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
30978b7fe5 Added new test files. 2008-04-13 03:38:40 -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
06e7c28202 Rearranged many method names. 2008-04-13 03:38:38 -04:00
John Wiegley
738287ef70 Merged ../commodity_pool 2008-04-13 03:38:36 -04:00
John Wiegley
c59018c29d Revised how commodities are dealt with. 2008-04-13 03:38:36 -04:00
John Wiegley
f9f24fab93 Added code to use boost::lexical_cast<>. 2008-04-13 03:38:36 -04:00
John Wiegley
fd1d109b29 More organization of amount code. 2008-04-13 03:38:36 -04:00
John Wiegley
de64861182 Added much documentation to amount.h 2008-04-13 03:38:35 -04:00
John Wiegley
103881ff80 First round of using boost/operators is done. 2008-04-13 03:38:35 -04:00
John Wiegley
9e80a6fbcc Got things compiling with boost/operators.hpp 2008-04-13 03:38:35 -04:00
John Wiegley
21af83013f Did more work on the utility code. 2008-04-13 03:38:34 -04:00
John Wiegley
c8899addfd Rearranged the sources a bit. 2008-04-13 03:38:33 -04:00