Exemple #1
0
 def test_get_winner_odds_post_flop(self):
     simulator = PokerSimulator([['8d', '9d'], ['Ah', 'Kd']],
                                ['6d', '7d', 'As'])
     print(simulator.get_winner_odds(10000))
Exemple #2
0
 def test_get_winner_odds_full_board(self):
     simulator = PokerSimulator([['8d', '9d'], ['Ah', 'Kd']],
                                ['6d', '7d', 'As', 'Jd', '4d'])
     print(simulator.get_winner_odds(10000))
Exemple #3
0
 def test_get_winner_odds_pre_flop(self):
     simulator = PokerSimulator([['8d', '9d'], ['Ah', 'Kd']], None)
     print(simulator.get_winner_odds(10000))