We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfbeb70 commit 8fd1b19Copy full SHA for 8fd1b19
1 file changed
tests/test_currency.py
@@ -16,7 +16,7 @@ def test_constructor_whole_string():
16
17
def test_constructor_nano_int():
18
n = 500
19
- assert Currency(n, format=CurrencyFormat.MICRO)
+ assert Currency(n, format=CurrencyFormat.NANO)
20
21
def test_add():
22
assert (Currency(5) + Currency(2)).nanocodas() == 7 * precision
@@ -37,4 +37,4 @@ def test_mul_int():
37
assert (Currency(5) * 2).nanocodas() == 10 * precision
38
39
def test_mul_currency():
40
- assert (Currency(5) * Currency(2, format=CurrencyFormat.MICRO)).nanocodas() == 10 * precision
+ assert (Currency(5) * Currency(2, format=CurrencyFormat.NANO)).nanocodas() == 10 * precision
0 commit comments