diff options
author | pacien | 2018-01-12 00:17:02 +0100 |
---|---|---|
committer | pacien | 2018-01-12 00:17:02 +0100 |
commit | e33c61d4a6dfba20c1dd69d1a22b55b23a9cf940 (patch) | |
tree | 149da09ace956aea79fcb0410970ce231ed58332 /src/test/java | |
parent | 4e7a2210c94589cd9a5370497d8a28f5ba487c54 (diff) | |
download | wallj-e33c61d4a6dfba20c1dd69d1a22b55b23a9cf940.tar.gz |
Fix associated code
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java b/src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java index 87ca08a..903128f 100644 --- a/src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java +++ b/src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java | |||
@@ -38,7 +38,7 @@ final class BoardParserTest { | |||
38 | Assertions.assertEquals(board.getDim(), TileVec2.of(blocks[0].length, blocks.length)); | 38 | Assertions.assertEquals(board.getDim(), TileVec2.of(blocks[0].length, blocks.length)); |
39 | for (int row = 0; row < blocks.length; ++row) | 39 | for (int row = 0; row < blocks.length; ++row) |
40 | for (int col = 0; col < blocks[0].length; ++col) | 40 | for (int col = 0; col < blocks[0].length; ++col) |
41 | Assertions.assertEquals(board.getBlockTypeAt(TileVec2.of(row, col)), blocks[row][col]); | 41 | Assertions.assertEquals(board.getBlockTypeAt(TileVec2.of(col, row)), blocks[row][col]); |
42 | } | 42 | } |
43 | 43 | ||
44 | } | 44 | } |