mirror of
https://github.com/sigmasternchen/php-chess
synced 2025-03-14 23:58:53 +00:00
test: Adjust rank collision test
This commit is contained in:
parent
29a05bd092
commit
bad55e1ef1
1 changed files with 1 additions and 3 deletions
|
@ -64,7 +64,6 @@ final class MoveTest extends TestCase {
|
|||
$game = new Game([
|
||||
new King(new Position(0,0), Side::WHITE),
|
||||
new King(new Position(0, 0), Side::BLACK),
|
||||
new Pawn(new Position(3, 3), Side::BLACK, true),
|
||||
new Knight(new Position(2, 1), Side::WHITE),
|
||||
new Knight(new Position(4, 1), Side::WHITE),
|
||||
], Side::WHITE);
|
||||
|
@ -72,10 +71,9 @@ final class MoveTest extends TestCase {
|
|||
$subject = new Move(
|
||||
new Knight(new Position(2, 1), Side::WHITE),
|
||||
new Position(3, 3),
|
||||
new Pawn(new Position(3, 3), Side::BLACK),
|
||||
);
|
||||
|
||||
$this->assertEquals("Ncxd4", $subject->getShort($game));
|
||||
$this->assertEquals("Ncd4", $subject->getShort($game));
|
||||
}
|
||||
|
||||
public function testShort_fullCollisionAndCheckmate() {
|
||||
|
|
Loading…
Reference in a new issue