aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/fr
diff options
context:
space:
mode:
authorpacien2018-01-11 21:27:07 +0100
committerpacien2018-01-11 21:27:07 +0100
commit7fc6fc06bf5b1e6c3a07640cfb2ac7456e030e06 (patch)
tree9150ef2c6b66de7a81c4d0abe9fee45f6831aae8 /src/test/java/fr
parent1347f30afbed7ee9c149f77534f5e75fbe819b98 (diff)
downloadwallj-7fc6fc06bf5b1e6c3a07640cfb2ac7456e030e06.tar.gz
Unify width/height order
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'src/test/java/fr')
-rw-r--r--src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java2
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 de6799b..87ca08a 100644
--- a/src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java
+++ b/src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java
@@ -35,7 +35,7 @@ final class BoardParserTest {
35 35
36 Board board = BoardParser.parse(getResourcePath("/maps/smallValid.txt")); 36 Board board = BoardParser.parse(getResourcePath("/maps/smallValid.txt"));
37 37
38 Assertions.assertEquals(board.getDim(), TileVec2.of(blocks.length, blocks[0].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(row, col)), blocks[row][col]);