1--TEST--
2Games_Chess_Losers->gameOver() no pieces left (black)
3--SKIPIF--
4--FILE--
5<?php
6require_once dirname(__FILE__) . '/setup.php.inc';
7$board->resetGame();
8$board->blankBoard();
9$board->addPiece('W', 'K', 'e8');
10$board->addPiece('W', 'R', 'a8');
11$board->addPiece('B', 'K', 'f3');
12$board->_move = 'B';
13$phpunit->assertEquals('B', $board->gameOver(), 1);
14$board->_move = 'W';
15$phpunit->assertEquals('B', $board->gameOver(), 2);
16echo 'tests done';
17?>
18--EXPECT--
19tests done