summaryrefslogtreecommitdiff
path: root/test/unit/t_commodity.cc
Commit message (Collapse)AuthorAgeFilesLines
* Tighten up argument passing related to fn_market()John Wiegley2012-03-111-3/+3
|
* All tests are working again but oneJohn Wiegley2012-03-051-1/+1
|
* Fixed several unit testsJohn Wiegley2011-02-041-5/+7
|
* Use Boost.Test instead of CppUnitJohn Wiegley2011-02-041-28/+35
|
* A further simplification of -V and -XJohn Wiegley2010-06-071-5/+5
| | | | | | | | With -X COMM, all values are computed in terms of COMM, regardless. With -V, only secondary commodities will ever be computed, never primaries. Further, if a secondary commodities has an associated price, the valuation is done in terms of that price's commodity.
* Call times_initialize/shutdown in the unit testsJohn Wiegley2009-10-251-0/+2
|
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-0/+1
|
* Be smarter about trimming off trailing zeroesJohn Wiegley2009-02-271-1/+1
|
* Restored the use of Python unit testsJohn Wiegley2009-02-241-13/+0
|
* Added --exchange (-x) optionJohn Wiegley2009-02-221-5/+5
| | | | | | | This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD
* Fixed several unused value and param warningsJohn Wiegley2009-02-161-6/+0
|
* Fixed some incorrect #includes.John Wiegley2009-02-071-2/+1
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-4/+4
|
* Rationals based math is now passing the unit tests.John Wiegley2009-01-311-4/+9
|
* Make amounts output fullstrings in the commodity unit tests.John Wiegley2009-01-311-0/+1
|
* Unit test for Python are now auto-generated from the C++ tests.John Wiegley2009-01-281-10/+28
|
* Reorganized Ledger so that it builds as 7 separate libraries. This is mainlyJohn Wiegley2009-01-251-3/+9
| | | | to prove to myself that it has proper decoupling between prior code areas.
* Further extended commodities unit test.John Wiegley2009-01-191-1/+8
|
* Extended commodities unit test.John Wiegley2009-01-191-24/+29
|
* Added a recursive, date-based commodity price searching capability. ThisJohn Wiegley2009-01-191-2/+17
| | | | | | 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.
* Moved the test sources around, so that all the unit tests are in test/unit.John Wiegley2008-08-051-0/+64