summaryrefslogtreecommitdiff
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Modernize CMake using backported FindPython module.Dimitri John Ledkov2019-12-051-4/+4
|
* Do not set dependencies for target checkTim Landscheidt2019-01-221-3/+0
| | | | | | The set_target_properties() commands themselves do not cause the tests to run if the target check is made, and as the target check executes ctest, all tests will be run anyway.
* Fix build under Cygwin.Ivan Vanyushkin2016-09-291-1/+1
|
* Fix build under msys32; add Appveyor continuous buildEvan Mallory2016-09-171-0/+4
| | | | | | | | | | | | * Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts * Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers. * Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function. * Add missing include in test/unit/t_value.cc Almost all tests fail when you run them on msys32. I will address that in a future PR.
* [tests] Remove compiler warnings for unit testsAlexis Hildebrandt2015-09-151-1/+1
| | | | | | warning: equality comparison result unused [-Wunused-comparison] BOOST_CHECK_THROW(v8 == v10, value_error); ~~~^~~~~~
* [tests] Fix MathTest failures on Mac OS XAlexis Hildebrandt2015-08-081-15/+12
| | | | due to timezone settings.
* [tests] Set timezone for running testsAlexis Hildebrandt2015-08-071-0/+2
| | | | so that the tests run with a consistent environment.
* Merge remote-tracking branch 'origin/master' into nextJohn Wiegley2015-08-042-1/+715
|\
| * fix minor issuestripun2014-08-181-5/+8
| |
| * add additional tests for sequence_t and fix the old onestripun2014-08-181-22/+50
| |
| * add test for sequenc_t in value_ttripun2014-08-181-0/+32
| |
| * add unit test Negation for valuetripun2014-08-181-0/+46
| |
| * minor additionstripun2014-08-181-0/+1
| |
| * add test for zero for valuetripun2014-08-181-0/+57
| |
| * check Type unit test for valuetripun2014-08-181-0/+50
| |
| * add Division unit test for valuetripun2014-08-181-0/+63
| |
| * remove some statements until sequence multiplication run-time error is fixedtripun2014-08-181-11/+0
| |
| * add Multiplication unit test for valuetripun2014-08-181-0/+79
| |
| * add unit test subtraction for valuetripun2014-08-181-0/+93
| |
| * add whitespacestripun2014-08-171-4/+4
| |
| * add unit test Addition for valuetripun2014-08-171-0/+102
| |
| * add unit test of equality for valuetripun2014-08-171-0/+64
| |
| * add assignment unit test for valuetripun2014-08-171-0/+35
| |
| * add constructors unit test for valuetripun2014-08-171-0/+35
| |
| * initialize value fixturetripun2014-08-161-0/+37
| |
| * add t_value unit testtripun2014-08-152-1/+1
| |
* | [tests] Remove compiler warnings for unit testsAlexis Hildebrandt2015-07-281-0/+1
| | | | | | | | | | | | warning: relational comparison result unused [-Wunused-comparison] BOOST_CHECK_THROW(x6 < x7, amount_error); ~~~^~~~
* | [tests] Fix Util and Math tests on Mac OS XAlexis Hildebrandt2015-07-281-0/+6
| | | | | | | | by explicitly linking the testing targets against Python
* | [tests] Fix compiler warningAlexis Hildebrandt2015-01-111-0/+3
|/
* Revert "add unit test printing for balance_t" until issue is fixed.tripun2014-08-111-31/+0
| | | | | | Getting different output on system than travis-ci. This reverts commit 272e3cb3799937dcd3c379de56b299a3cbde52ca.
* add unit test printing for balance_ttripun2014-08-111-0/+31
|
* add unit test of Zero for balance_ttripun2014-08-111-0/+26
|
* add unit test Truth for balance_ttripun2014-08-111-0/+20
|
* add unit test Round for balance_ttripun2014-08-111-0/+50
|
* add unit test Floor for balance_ttripun2014-08-111-0/+43
|
* add unit test Ceiling for balance_ttripun2014-08-111-0/+43
|
* add unit test Absolute for balance_ttripun2014-08-111-0/+25
|
* add unit test negation for balance_ttripun2014-08-111-0/+35
|
* add unit test for balance divisiontripun2014-08-111-0/+45
|
* add test for multiplicationtripun2014-08-111-0/+45
|
* edited subraction testtripun2014-08-111-1/+1
|
* add Equality unit test for balancetripun2014-08-111-2/+65
|
* 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
|