コード例 #1
0
def test_dealer_bot_hard_20():
    hand = blackjack_engine.Hand(['A', '2', 'Q', '7'])
    assert blackjack_engine.dealer_bot(hand) == 'stay'
コード例 #2
0
def test_dealer_bot_soft_17():
    hand = blackjack_engine.Hand(['A', '6'])
    assert blackjack_engine.dealer_bot(hand) == 'hit'
コード例 #3
0
def test_dealer_bot_20():
    hand = blackjack_engine.Hand(['Q', '4', '6'])
    assert blackjack_engine.dealer_bot(hand) == 'stay'
コード例 #4
0
def test_dealer_bot_hard_17():
    hand = blackjack_engine.Hand(['J', '6', 'A'])
    assert blackjack_engine.dealer_bot(hand) == 'stay'