Пример #1
0
 def test_withdrawFunds_mediumAmount_otherClient(self):
     account = Account(1000)
     self.assertEquals(account.withdrawFunds(amount=450, native_client=False), [200, 200, 50])
Пример #2
0
 def test_withdrawFunds_smallAmount_nativeClient(self):
     account = Account(1000)
     self.assertEquals(account.withdrawFunds(amount=100, native_client=True), [100])
Пример #3
0
 def test_withdrawFunds_bigAmount_nativeClient(self):
     account = Account(1000)
     self.assertEquals(account.withdrawFunds(amount=999, native_client=True), [200, 200, 200, 200, 100, 50, 20, 20])