def test_table_turn(): 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] remember = table.deck.cards[1] table.turn() assert table.board == [remember]
def test_table_turn(): 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] remember = table.deck.cards[1] table.turn() assert table.board == [remember]
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()