1--TEST-- 2Games_Chess_Losers->gameOver() pieces left 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->addPiece('B', 'R', 'a3'); 13$board->_move = 'B'; 14$phpunit->assertFalse($board->gameOver(), '1'); 15$board->_move = 'W'; 16$phpunit->assertFalse($board->gameOver(), '2'); 17echo 'tests done'; 18?> 19--EXPECT-- 20tests done