示例#1
0
 def testGetWinnerNone(self):
     game = Game(0);
     array = [1, None, 0, 1, None];
     winner = None       
     self.assertEqual(game.getWinner(array), winner, "")   
示例#2
0
 def testGetWinner0(self):
         game = Game(0);
         array = [0] * 5;
         winner = 0       
         self.assertEqual(game.getWinner(array), winner, "")