(self)
| 2085 | eq_(account.balance.as_currency("gbp").amount, Decimal("2515.58")) |
| 2086 | |
| 2087 | def test_instance_three(self): |
| 2088 | BankAccount, Amount = self.BankAccount, self.Amount |
| 2089 | account = BankAccount(balance=Amount(4000, "usd")) |
| 2090 | |
| 2091 | # 3d. perform currency-agnostic comparisons, math |
| 2092 | is_(account.balance > Amount(500, "cad"), True) |
| 2093 | |
| 2094 | def test_instance_four(self): |
| 2095 | BankAccount, Amount = self.BankAccount, self.Amount |
nothing calls this directly
no test coverage detected