def test_games(self): expect(Board.game(Board.parse(testdata_xwon))) == "X won" expect(Board.game(Board.parse(testdata_draw))) == "Draw" expect(Board.game(Board.parse(testdata_incomplete))) == "Game has not completed" expect(Board.game(Board.parse(testdata_owonv))) == "O won" expect(Board.game(Board.parse(testdata_owondr))) == "O won" expect(Board.game(Board.parse(testdata_owondl))) == "O won"