Sophie

Sophie

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

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

--TEST--
Games_Chess->getPossibleBishopMoves() valid black #2
--SKIPIF--
--FILE--
<?php
require_once dirname(__FILE__) . '/setup.php.inc';
$board->resetGame();
$err = $board->getPossibleBishopMoves('e4', 'B');
$phpunit->assertEquals(array('f5', 'g6', 'd5', 'c6', 'f3', 'g2', 'd3', 'c2'), $err, 1);
echo 'tests done';
?>
--EXPECT--
tests done