コード例 #1
0
ファイル: test_casino.py プロジェクト: kriegsmarine/gbf-bot
 def test_flush(self):
     poker = Poker()
     poker.new_game(['S6', 'S2', 'S3', 'S4', 'S5'])
     assert poker.is_flush() == True
     poker.new_game(['S6', 'S2', 'S3', 'S4', 'H5'])
     assert poker.is_flush() == False
コード例 #2
0
 def test_flush(self):
     poker = Poker()
     poker.new_game(["S6", "S2", "S3", "S4", "S5"])
     assert poker.is_flush() == True
     poker.new_game(["S6", "S2", "S3", "S4", "H5"])
     assert poker.is_flush() == False