diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-22 20:56:35 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-22 20:56:35 -0400 |
commit | 266dee564fe19fccb03e0d3df1c933674868431d (patch) | |
tree | daf24d96086f4846b578d959a6ca4e372b428382 /test/baseline/opt-lots_basis_base.test | |
parent | 1f3dba77565b976a61eca73084e51518acee1736 (diff) | |
download | fork-ledger-266dee564fe19fccb03e0d3df1c933674868431d.tar.gz fork-ledger-266dee564fe19fccb03e0d3df1c933674868431d.tar.bz2 fork-ledger-266dee564fe19fccb03e0d3df1c933674868431d.zip |
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}
Diffstat (limited to 'test/baseline/opt-lots_basis_base.test')
-rw-r--r-- | test/baseline/opt-lots_basis_base.test | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/test/baseline/opt-lots_basis_base.test b/test/baseline/opt-lots_basis_base.test index e3aca02d..c4c3c01a 100644 --- a/test/baseline/opt-lots_basis_base.test +++ b/test/baseline/opt-lots_basis_base.test @@ -356,8 +356,8 @@ D 1.00G Assets:Tajer 2006/03/17 Player: raev - Assets:Tajer:Items "Wildheart Belt" 1 {30G} - Assets:Tajer:Items "Ace of Warlords" -2 {15G} + Assets:Tajer:Items "Wildheart Belt" 1 @ 30G + Assets:Tajer:Items "Ace of Warlords" -2 @ 15G 2006/03/17 Auction House Expenses:Fees:Auction 7482c @@ -610,8 +610,8 @@ D 1.00G Assets:Tajer -120c 0 06-Mar-14 Puldoost Assets:Tajer 80000c 80000c Expenses:Items -80000c 0 -06-Mar-14 Auction House Assets:Wyshona:Items 12500c 12500c - Assets:Tajer:Items -12500c 0 +06-Mar-14 Auction House Assets:Wyshona:Items "Plans: Wildthorn Mail" 1 "Plans: Wildthorn Mail" 1 + Assets:Tajer:Items "Plans: Wildthorn Mail" -1 0 06-Mar-15 Auction House Assets:Tajer 4500c 4500c Assets:Tajer 259c 4759c Assets:Bids -4759c 0 @@ -681,11 +681,17 @@ D 1.00G Assets:Tajer:Items -1195768c 0 Income:Brokering -545768c -545768c Equity:Capital Gains 545768c 0 -06-Mar-16 Auction House Assets:Wyshona:Items 21050c 21050c - Assets:Wyshona:Items 23000c 44050c - Assets:Wyshona:Items 10000c 54050c - Assets:Wyshona:Items 15000c 69050c - Assets:Tajer:Items -69050c 0 +06-Mar-16 Auction House Assets:Wyshona:Items "Plans: Mithril Shield Spike" 1 "Plans: Mithril Shield Spike" 1 + Assets:Wyshona:Items "Plans: Mithril Shield Spike" 1 "Plans: Mithril Shield Spike" 2 + Assets:Wyshona:Items "Recipe: Elixir of Giant Growth" 1 "Plans: Mithril Shield Spike" 2 + "Recipe: Elixir of Giant Growth" 1 + Assets:Wyshona:Items "Recipe: Elixir of Giant Growth" 1 "Plans: Mithril Shield Spike" 2 + "Recipe: Elixir of Giant Growth" 2 + Assets:Tajer:Items "Plans: Mithril Shield Spike" -1 "Plans: Mithril Shield Spike" 1 + "Recipe: Elixir of Giant Growth" 2 + Assets:Tajer:Items "Plans: Mithril Shield Spike" -1 "Recipe: Elixir of Giant Growth" 2 + Assets:Tajer:Items "Recipe: Elixir of Giant Growth" -1 "Recipe: Elixir of Giant Growth" 1 + Assets:Tajer:Items "Recipe: Elixir of Giant Growth" -1 0 06-Mar-16 Player Assets:Tajer 40000c 40000c Equity:Gold -40000c 0 06-Mar-16 Auction House Assets:Wyshona 134100c 134100c @@ -719,8 +725,8 @@ D 1.00G Assets:Tajer -300030c 0 06-Mar-16 Auction House Assets:Gruulmorg:Items 300000c 300000c Assets:Gruulmorg -300000c 0 -06-Mar-16 Transfer Assets:Tajer:Items 300000c 300000c - Assets:Gruulmorg:Items -300000c 0 +06-Mar-16 Transfer Assets:Tajer:Items "Ace of Warlords" 2 "Ace of Warlords" 2 + Assets:Gruulmorg:Items "Ace of Warlords" -2 0 06-Mar-16 Post Expenses:Fees:Mail 60c 60c Assets:Gruulmorg -60c 0 06-Mar-16 Post Expenses:Fees:Mail 120c 120c |