Skip to content

Commit

Permalink
#63: red test: movetext for minimal game.
Browse files Browse the repository at this point in the history
  • Loading branch information
lrozenblyum committed Jun 13, 2023
1 parent 418f1a1 commit 7748232
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/com/leokom/games/chess/pgn/PGNGameTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ public void whiteResignsBeforeFirstMove() {
assertEquals("[Result \"0-1\"]", pgnSplitByLines[6]);
// PGN export format: a single blank line appears after the last of the tag pairs
assertEquals("", pgnSplitByLines[7]);
// pretty artificial, minimal game
assertEquals("1. 0-1", pgnSplitByLines[8]);
}

@Test
Expand Down

0 comments on commit 7748232

Please sign in to comment.