Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 6496e204f77658ff2108478d2951b08a > files > 152

php-pear-Games_Chess-1.0.1-5mdv2010.0.noarch.rpm

--TEST--
Games_Chess->getPossibleKingMoves() valid white #3
--SKIPIF--
--FILE--
<?php
require_once dirname(__FILE__) . '/setup.php.inc';
$board->resetGame();
$err = $board->getPossibleKingMoves('e6', 'W');
$phpunit->assertEquals(array('d6', 'd7', 'd5', 'f6', 'f7', 'f5', 'e5', 'e7'), $err, 1);
echo 'tests done';
?>
--EXPECT--
tests done