Exemple #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
Exemple #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