Current File : //opt/RZphp72/includes/test/Games_Chess/tests/Games_Chess/getPossibleMoves/test_invalid_square.phpt
--TEST--
Games_Chess->getPossibleMoves() invalid square
--SKIPIF--
--FILE--
<?php
require_once dirname(__FILE__) . '/setup.php.inc';
$err = $board->getPossibleMoves('P', 'a9', 'B');
$phpunit->assertErrors(array(
    array('package' => 'PEAR_Error', 'message' => '"a9" is not a valid square, must be between a1 and h8')
), 1);
echo 'tests done';
?>
--EXPECT--
tests done