JSON to PGN parser

This commit is contained in:
DHTMLGoodies
2017-03-13 20:56:22 +01:00
parent 29dc9b5f8a
commit 126dc9b599
6 changed files with 280 additions and 5 deletions

View File

@@ -2223,8 +2223,7 @@ Rc8 Ne6+ 72. Kf6 d2 73. c5+ Kd7 0-1';
$parser = new PgnParser("pgn/nullmoves.pgn");
$game = $parser->getGameByIndex(0);
// No exception
$this->assertCount(5, $game["moves"] );
}
}