1
0
fin-defs/test/test_asset_amount.py
2024-09-01 17:39:22 +02:00

9 lines
163 B
Python

from decimal import Decimal
import fin_defs
def test_str():
amount = fin_defs.AssetAmount(fin_defs.USD, Decimal(10))
assert str(amount) == '$10.00 USD'