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