summaryrefslogtreecommitdiff
path: root/test/baseline/feat-fixated-prices.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/feat-fixated-prices.test')
-rw-r--r--test/baseline/feat-fixated-prices.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/baseline/feat-fixated-prices.test b/test/baseline/feat-fixated-prices.test
new file mode 100644
index 00000000..11330dea
--- /dev/null
+++ b/test/baseline/feat-fixated-prices.test
@@ -0,0 +1,24 @@
+reg -V gas
+<<<
+1990/01/01 Payee
+ Expenses:Gas 100 GAL {=$2}
+ Liabilities:MasterCard $-200
+
+P 1990/01/15 12:00:00 GAL $3
+
+1990/02/01 Payee
+ Expenses:Gas 100 FOO {$2}
+ Liabilities:MasterCard $-200
+
+P 1990/02/15 12:00:00 FOO $3
+
+1990/02/20 Payee
+ Expenses:Gas 100 FOO
+ Liabilities:MasterCard
+>>>1
+90-Jan-01 Payee Expenses:Gas $200 $200
+90-Feb-01 Payee Expenses:Gas $200 $400
+90-Feb-20 Commodities revalued <Revalued> $100 $500
+90-Feb-20 Payee Expenses:Gas $300 $800
+>>>2
+=== 0