Gracefully skiping games the parser don't understand

This commit is contained in:
DHTMLGoodies
2017-02-22 18:15:12 +01:00
parent 1fcf22de2c
commit 83efc94107
4 changed files with 56 additions and 1 deletions

View File

@@ -2140,4 +2140,15 @@ Rc8 Ne6+ 72. Kf6 d2 73. c5+ Kd7 0-1';
return new FenParser0x88($fen);
}
/**
* @test
*/
public function shouldParseArtAttack(){
$pgnParser = new PgnParser("pgn/art_attack.pgn");
// when
$game = $pgnParser->getGames();
}
}