def test_doubleaces(self, game: GameDriver, strat: BookStrategy):
     hand = BlackjackHand.from_string("A♠,A♦")
     action = strat.get_action(game, hand)
     assert action == BlackjackAction.Split
 def test_surrender_hand(self, game: GameDriver, strat: IStrategy):
     hand = BlackjackHand.from_string("J♣,6♥")
     action = strat.get_action(game, hand)
     assert action == BlackjackAction.Surrender
 def test_under15_hard_hand2(self, game: GameDriver, strat: BookStrategy):
     hand = BlackjackHand.from_string("4♥,9♣")
     action = strat.get_action(game, hand)
     assert action == BlackjackAction.Hit