commit f1a8d87eb5cc439353e73d7c88493166f2ab6233
parent 6cb4fc81251d0a2859c28ddaeba1f2f57a0f1ffd
Author: William Casarin <jb55@jb55.com>
Date: Mon, 25 Dec 2017 12:04:35 -0800
test: add failing test for floating point BTCs
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/tests.csv b/test/tests.csv
@@ -31,6 +31,7 @@ penny usd to msats,--price 20000,0.01 usd in msats,50000 msats
100 mbtc in bits grammar with arith,,100 mbtc + 2 btc in btc,2.1 BTC
set usb in grammar,--price 16000,780 bits in usd,12.48 usd
--- failing ---,,,
+no floating point issues,,0.1284502 btc in sats,12845020 sats
1 BTC is 15000 usd,--price 15000,1 btc in usd,15000 USD
--- needs implementation ---,,,
1/2 btc should work,,1/2 btc,0.5