9 lines
163 B
Python
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'
|