ledger/test
John Wiegley 266dee564f Price annotation no longer inject an implied cost
Consider the following transaction:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL {$30}
      Assets:Brokerage

Previously, this would have been equivalent to:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL @ $30
      Assets:Brokerage

However, this is not always what the user expects to happen.  When @ is
not being used, the transaction should reflect a mere transfer of
commodities.  This is now how it works, and thus the above transaction
is now equivalent to the following instead:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL {$30}
      Assets:Brokerage      -10 AAPL {$30}
2010-06-22 20:56:35 -04:00
..
baseline Price annotation no longer inject an implied cost 2010-06-22 20:56:35 -04:00
input Added a 'speedtest' Makefile target 2010-06-07 05:08:24 -04:00
manual Fixed tests relative to recent --pivot change 2010-02-04 04:23:27 -05:00
regress Fixed typo in previous commit's regression test 2010-06-21 18:35:51 -04:00
unit Corrected a bug in report query parsing 2010-06-19 14:02:44 -04:00
CheckComments.py Created a script to check commenting coverage 2010-06-15 21:32:05 -04:00
CheckTests.py Don't warn about --import in doc when --no-python 2010-06-20 20:35:35 -04:00
ConfirmTests.py Added --rounding option, which is off by default 2010-05-23 15:45:51 -06:00
convert.py Many improvements to Ledger's Python bindings 2009-11-19 22:24:24 -05:00
DataTests.cc The -B, -G, -V reports now show rounding amounts 2009-02-26 03:16:39 -04:00
ExprTests.cc The -B, -G, -V reports now show rounding amounts 2009-02-26 03:16:39 -04:00
fullcheck.sh Added LedgerHarness.py, to simplify test creation 2009-02-28 05:37:49 -04:00
GenerateTests.py Regression and generate tests now fail properly 2010-06-22 03:10:19 -04:00
LedgerHarness.py Tests run in parallel with using acprep -jX make 2010-06-15 01:49:18 -04:00
MathTests.cc The -B, -G, -V reports now show rounding amounts 2009-02-26 03:16:39 -04:00
prove.sh Reorganized some files in tools/ and test/ 2009-02-28 06:18:21 -04:00
PyUnitTests.py Build Python module using automake, not setup.py 2009-02-24 12:48:11 -04:00
RegressTests.py Regression and generate tests now fail properly 2010-06-22 03:10:19 -04:00
ReportTests.cc The -B, -G, -V reports now show rounding amounts 2009-02-26 03:16:39 -04:00
runtests.py The -B, -G, -V reports now show rounding amounts 2009-02-26 03:16:39 -04:00
UnitTests.cc Untabified all source files 2010-06-11 17:02:25 -04:00
UnitTests.h Untabified all source files 2010-06-11 17:02:25 -04:00
UtilTests.cc The -B, -G, -V reports now show rounding amounts 2009-02-26 03:16:39 -04:00