Beispiel #1
0
 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
Beispiel #2
0
 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