Conditions | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | #!/usr/bin/python |
||
13 | def test_usd(self) -> None: |
||
14 | """Test currency with default settings(sign = $ and sign before the amount) |
||
15 | |||
16 | :return: |
||
17 | """ |
||
18 | currency = Currency(1501) |
||
19 | self.assertEqual(str(currency), currency.human_readable) |
||
20 | self.assertEqual(currency.human_readable, "$15.01") |
||
21 | self.assertEqual(currency.amount, 1501) |
||
22 | |||
37 |