diff options
author | Aristid Breitkreuz <aristid.breitkreuz@gmx.de> | 2009-11-25 04:43:29 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-25 04:50:36 -0500 |
commit | a3338a2a67a793ddbbc1b0f93901d9a978dc1a8c (patch) | |
tree | 77ccfc5c88c9569b9ad02790c754d8d498b7240b /test/baseline/opt-unrealized-gains.test | |
parent | 72aa0e0e442442b2d08af4e42c281beeeb5ea3af (diff) | |
download | fork-ledger-a3338a2a67a793ddbbc1b0f93901d9a978dc1a8c.tar.gz fork-ledger-a3338a2a67a793ddbbc1b0f93901d9a978dc1a8c.tar.bz2 fork-ledger-a3338a2a67a793ddbbc1b0f93901d9a978dc1a8c.zip |
Added baseline tests for unrealized options
This includes another baseline test for --unrealized, and also new ones
for --unrealized-gains and --unrealized-losses.
Diffstat (limited to 'test/baseline/opt-unrealized-gains.test')
-rw-r--r-- | test/baseline/opt-unrealized-gains.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/baseline/opt-unrealized-gains.test b/test/baseline/opt-unrealized-gains.test new file mode 100644 index 00000000..5b225a42 --- /dev/null +++ b/test/baseline/opt-unrealized-gains.test @@ -0,0 +1,20 @@ +bal -V --unrealized --unrealized-gains G +<<< +2008/10/01 Sample + Assets:Brokerage 10 AAPL + Assets:Checking $-200.00 + +P 2008/10/20 12:00:00 AAPL $30.00 + +; 2008/10/20 <Generated Transaction> +; Assets:Brokerage $100 +; Equity:Unrealized Gains +>>>1 + $100.00 Assets + $300.00 Brokerage + $-200.00 Checking + $-100.00 G +-------------------- + 0 +>>>2 +=== 0 |