# Path: tests/base_unittest.py
# class BaseUnitTest(unittest.TestCase):
# 
#   def eq(self, expected, target):
#     return self.assertEqual(expected, target)
# 
#   def neq(self, expected, target):
#     return self.assertNotEqual(expected, target)
# 
#   def true(self, target):
#     return self.assertTrue(target)
# 
#   def false(self, target):
#     return self.assertFalse(target)
# 
# Path: examples/players/fold_man.py
# class FoldMan(BasePokerPlayer):
# 
#   def declare_action(self, valid_actions, hole_card, round_state):
#     return 'fold', 0
# 
#   def receive_game_start_message(self, game_info):
#     pass
# 
#   def receive_round_start_message(self, round_count, hole_card, seats):
#     pass
# 
#   def receive_street_start_message(self, street, round_state):
#     pass
# 
#   def receive_game_update_message(self, new_action, round_state):
#     pass
# 
#   def receive_round_result_message(self, winners, hand_info, round_state):
#     pass


import pypokerengine.api.game as G
from nose.tools import raises
from tests.base_unittest import BaseUnitTest
from examples.players.fold_man import FoldMan


class GameTest(BaseUnitTest):

    def test_start_poker(self):
        config = G.setup_config(1, 100, 10)

# Path: tests/base_unittest.py
# class BaseUnitTest(unittest.TestCase):
# 
#   def eq(self, expected, target):
#     return self.assertEqual(expected, target)
# 
#   def neq(self, expected, target):
#     return self.assertNotEqual(expected, target)
# 
#   def true(self, target):
#     return self.assertTrue(target)
# 
#   def false(self, target):
#     return self.assertFalse(target)
# 
# Path: examples/players/fold_man.py
# class FoldMan(BasePokerPlayer):
# 
#   def declare_action(self, valid_actions, hole_card, round_state):
#     return 'fold', 0
# 
#   def receive_game_start_message(self, game_info):
#     pass
# 
#   def receive_round_start_message(self, round_count, hole_card, seats):
#     pass
# 
#   def receive_street_start_message(self, street, round_state):
#     pass
# 
#   def receive_game_update_message(self, new_action, round_state):
#     pass
# 
#   def receive_round_result_message(self, winners, hand_info, round_state):
#     pass


# Path: tests/pypokerengine/api/game_test.py
import pypokerengine.api.game as G
from nose.tools import raises
from tests.base_unittest import BaseUnitTest
from examples.players.fold_man import FoldMan



class GameTest(BaseUnitTest):

    def test_start_poker(self):
        config = G.setup_config(1, 100, 10)

        config.register_player("p1", FoldMan())