def test_straight_4cards_negative(): hand = ['AS', '9S', 'TS', 'JS'] rank = session6.card_ranks(hand) assert False == session6.straight_4cards(rank)
def test_straight_4cards_positive(): hand = ['AS', 'KS', 'QS', 'JS'] rank = session6.card_ranks(hand) assert True == session6.straight_4cards(rank)