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
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
def setUp(self): self.player = Player()