Exemplo n.º 1
0
class TestPlayer(unittest.TestCase):
    def setUp(self):
        self.player = Player()

    def test_open_the_grid(self):
        p1, p2 = self.player.open_the_grid()
        self.assertIsInstance(p1, int)
        self.assertIsInstance(p2, int)

    def test_process_the_grid(self):
        # self.player.initiate_game()
        # self.player.process_the_grid()
        pass
Exemplo n.º 2
0
class TestPlayer(unittest.TestCase):
    def setUp(self):
        self.player = Player()
       
    def test_open_the_grid(self):
        p1, p2 = self.player.open_the_grid()
        self.assertIsInstance(p1, int)
        self.assertIsInstance(p2, int)

    def test_process_the_grid(self):
        #self.player.initiate_game()
        #self.player.process_the_grid()
        pass
Exemplo n.º 3
0
 def setUp(self):
     self.player = Player()
Exemplo n.º 4
0
 def setUp(self):
     self.player = Player()