def test_can_withdraw_money_cant_withdraw(self): new_cash_desk = CashDesk() new_cash_desk.take_money({1: 2, 100: 3}) self.assertFalse(new_cash_desk.can_withdraw_money(105))
def test_can_withdraw_money_not_all_money(self): new_cash_desk = CashDesk() new_cash_desk.take_money({1: 2, 100: 3}) self.assertTrue(new_cash_desk.can_withdraw_money(301))