summaryrefslogtreecommitdiff
path: root/test/regress/commodity_equivalency.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/commodity_equivalency.test')
-rw-r--r--test/regress/commodity_equivalency.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/commodity_equivalency.test b/test/regress/commodity_equivalency.test
new file mode 100644
index 00000000..400ab2bf
--- /dev/null
+++ b/test/regress/commodity_equivalency.test
@@ -0,0 +1,13 @@
+C 1.00000000 BTC = 100000000 sat
+
+2022/10/01 Sell
+ Bank $20000
+ Wallet -1 BTC
+
+test bal
+ $20000 Bank
+ -1.00000000 BTC Wallet
+--------------------
+ $20000
+ -1.00000000 BTC
+end test