Beispiel #1
0
    def test_make_bet_whole_budget(self, _print_mock):
        budget = 2

        ai_player = AiPlayer(_, budget)

        ai_player.make_bet()

        self.assertEqual(ai_player.current_bet, budget)
Beispiel #2
0
    def test_make_bet(self, _print_mock):
        budget = 100

        ai_player = AiPlayer(_, budget)

        ai_player.make_bet()

        self.assertIn(ai_player.current_bet, range(2, budget + 1))