def test_table_flop(): table = Table() num_players = 3 players = [] for i in xrange(num_players): player = Player(10) player.sit(table, i) players.append(player) table.initialize_hand() to_burn = table.deck.cards[0] board_cards = table.deck.cards[1:4] table.flop() assert table.board == board_cards
def test_table_flop(): table = Table() num_players = 3 players = [] for i in xrange(num_players): player = Player(10) player.sit(table, i) players.append(player) table.initialize_hand() to_burn = table.deck.cards[0] board_cards = table.deck.cards[1:4] table.flop() assert table.board == board_cards
def test_table_determine_final_winner(): table = Table() num_players = 3 players = [] for i in xrange(num_players): player = Player(10) player.sit(table, i) players.append(player) table.initialize_hand() table.deal_one_hole_card_to_all_players() table.deal_one_hole_card_to_all_players() table.flop() table.turn() table.river()
def test_table_determine_final_winner(): table = Table() num_players = 3 players = [] for i in xrange(num_players): player = Player(10) player.sit(table, i) players.append(player) table.initialize_hand() table.deal_one_hole_card_to_all_players() table.deal_one_hole_card_to_all_players() table.flop() table.turn() table.river()