From 6cf04c38d21150153cd636be1325b0b204797d06 Mon Sep 17 00:00:00 2001 From: Maria Date: Thu, 6 Oct 2022 05:39:41 -0400 Subject: Fix balancing commodity with smaller unit. --- test/regress/commodity_equivalency_2.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/regress/commodity_equivalency_2.test (limited to 'test/regress/commodity_equivalency_2.test') diff --git a/test/regress/commodity_equivalency_2.test b/test/regress/commodity_equivalency_2.test new file mode 100644 index 00000000..a5d2de74 --- /dev/null +++ b/test/regress/commodity_equivalency_2.test @@ -0,0 +1,13 @@ +C 1.00000000 BTC = 100000000 sat + +2022/10/01 Sell + Wallet -1 BTC + Bank $20000 + +test bal + $20000 Bank + -1.00000000 BTC Wallet +-------------------- + $20000 + -1.00000000 BTC +end test -- cgit v1.2.3