コード例 #1
0
ファイル: test_account.py プロジェクト: C3P33N/ATMmachine
 def test_withdrawFunds_mediumAmount_otherClient(self):
     account = Account(1000)
     self.assertEquals(account.withdrawFunds(amount=450, native_client=False), [200, 200, 50])
コード例 #2
0
ファイル: test_account.py プロジェクト: C3P33N/ATMmachine
 def test_withdrawFunds_smallAmount_nativeClient(self):
     account = Account(1000)
     self.assertEquals(account.withdrawFunds(amount=100, native_client=True), [100])
コード例 #3
0
ファイル: test_account.py プロジェクト: C3P33N/ATMmachine
 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])