From e33c61d4a6dfba20c1dd69d1a22b55b23a9cf940 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 12 Jan 2018 00:17:02 +0100 Subject: Fix associated code Signed-off-by: pacien --- src/test/java/fr/umlv/java/wallj/board/BoardParserTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java') 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 { Assertions.assertEquals(board.getDim(), TileVec2.of(blocks[0].length, blocks.length)); for (int row = 0; row < blocks.length; ++row) for (int col = 0; col < blocks[0].length; ++col) - Assertions.assertEquals(board.getBlockTypeAt(TileVec2.of(row, col)), blocks[row][col]); + Assertions.assertEquals(board.getBlockTypeAt(TileVec2.of(col, row)), blocks[row][col]); } } -- cgit v1.2.3