def test_is_straight_flush(self): poker = Poker() poker.new_game(['SA', 'S2', 'S5', 'S3', 'S4']) assert poker.is_straight_flush() == True poker.new_game(['SA', 'S2', 'S5', 'S3', 'H4']) assert poker.is_straight_flush() == False
def test_is_straight_flush(self): poker = Poker() poker.new_game(["SA", "S2", "S5", "S3", "S4"]) assert poker.is_straight_flush() == True poker.new_game(["SA", "S2", "S5", "S3", "H4"]) assert poker.is_straight_flush() == False