summaryrefslogtreecommitdiff
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* added boost subtraction unit testtripun2014-08-111-0/+39
|
* added balance addition unit testtripun2014-08-111-4/+42
|
* add balance Test constructorstripun2014-08-111-2/+22
|
* Cosmetic change - format code consistentlyMartin Michlmayr2014-05-181-1/+1
| | | | | Add a space between if and the opening bracket, between a closing round bracket and the following opening curly bracket, etc.
* build shared library/python module, clean up CMakeJohann Klähn2014-02-011-1/+1
| | | | | libledger will now be built as a shared library. You can 'import ledger' from python IFF you copy libledger.so to ledger.so or create a symlink.
* add unit tests for amount_t→floor/ceilJohann Klähn2013-01-151-0/+54
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-0/+17
|
* Tighten up argument passing related to fn_market()John Wiegley2012-03-111-3/+3
|
* Add support for valuation expressions on commoditiesJohn Wiegley2012-03-051-1/+1
|
* All tests are working again but oneJohn Wiegley2012-03-051-1/+1
|
* Fixed several unit testsJohn Wiegley2011-02-043-23/+29
|
* Use Boost.Test instead of CppUnitJohn Wiegley2011-02-0412-1209/+950
|
* Corrected a bug in report query parsingJohn Wiegley2010-06-191-4/+4
|
* Untabified all source filesJohn Wiegley2010-06-112-23/+23
|
* 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.
* Further improved parsing of query expressionsJohn Wiegley2010-06-011-4/+2
| | | | Fixes #210 / D4C2DD6F-8967-4FFC-BBBC-A941F9C53475
* Changed --european option to --decimal-commaJohn Wiegley2010-06-011-3/+3
| | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC
* Fixed one of the ExprTestsJohn Wiegley2009-11-151-0/+2
|
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-092-115/+117
|
* Fixes to the Python unit testsJohn Wiegley2009-10-281-16/+16
|
* Disabled some of the expression tests under PythonJohn Wiegley2009-10-281-0/+32
|
* Rewrote the report query parserJohn Wiegley2009-10-282-0/+307
| | | | | | It is now a full parser that parses report queries directly into value expression trees. These then get rendered into text so that other options may extend the expression.
* Call times_initialize/shutdown in the unit testsJohn Wiegley2009-10-256-2/+20
|
* Don't increase precision so much when dividingJohn Wiegley2009-06-151-20/+20
| | | | | | | | | Slow the increase in internal precision when dividing amounts. Use "--debug amount.convert" if you wish to see this logic in action, if a case where incorrect rounding is suspected comes up. Fixes B68FFB0D-A9A0-479C-A6C0-68853F229333
* Rewrote the date interval parser/stepperJohn Wiegley2009-03-231-3/+9
| | | | | The new implementation uses boost::gregorian::date_duration objects, rather than manually stepping.
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-106-0/+12
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-042-0/+2
|
* Corrected warnings g++-4.3.3 was complaining aboutJohn Wiegley2009-02-281-5/+7
|
* Be smarter about trimming off trailing zeroesJohn Wiegley2009-02-271-1/+1
|
* Allow uncommoditized amounts to +/- with an amountJohn Wiegley2009-02-251-6/+6
| | | | Thus, you can say "$100 + 10" to increase it by $10.
* Be smarter about printing uncommoditized amountsJohn Wiegley2009-02-241-5/+5
|
* Restored the use of Python unit testsJohn Wiegley2009-02-2410-50/+10
|
* 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
* Restored the --budget optionJohn Wiegley2009-02-201-9/+9
|
* Re-enabled parsing of timelog dataJohn Wiegley2009-02-191-98/+98
|
* Fixed several unused value and param warningsJohn Wiegley2009-02-165-13/+0
|
* Fixed some incorrect #includes.John Wiegley2009-02-072-3/+2
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-045-15/+15
|
* Removed serialization tests from the amount_t unit tests.John Wiegley2009-02-032-93/+0
|
* Added a more efficient amount_t::operator==, which changed semantics slightly.John Wiegley2009-01-311-4/+3
|
* Rationals based math is now passing the unit tests.John Wiegley2009-01-313-205/+32
|
* Several corrections to the way rationals are handled.John Wiegley2009-01-311-40/+47
|
* Don't perform rounding tests in Python.John Wiegley2009-01-312-0/+8
|
* Make amounts output fullstrings in the commodity unit tests.John Wiegley2009-01-311-0/+1
|
* Removed all dependency on gdtoa.John Wiegley2009-01-301-16/+3
|
* Fixed the amount_t unit test.John Wiegley2009-01-301-9/+9
|
* Added a slew of date/time format tests (inactive, however).John Wiegley2009-01-301-0/+45
|
* Unit test for Python are now auto-generated from the C++ tests.John Wiegley2009-01-287-133/+198
|
* Reorganized Ledger so that it builds as 7 separate libraries. This is mainlyJohn Wiegley2009-01-2512-87/+36
| | | | to prove to myself that it has proper decoupling between prior code areas.
* Further extended commodities unit test.John Wiegley2009-01-191-1/+8
|