Skip to content

Commit de10d17

Browse files
fix test
1 parent b274df6 commit de10d17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/fishercoder/secondthousand/_1314Test.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.junit.jupiter.api.BeforeEach;
55
import org.junit.jupiter.api.Test;
66

7-
import static org.junit.jupiter.api.Assertions.assertEquals;
7+
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
88

99
public class _1314Test {
1010
private static _1314.Solution1 solution1;
@@ -28,7 +28,7 @@ public void test1() {
2828
{27, 45, 33},
2929
{24, 39, 28}
3030
};
31-
assertEquals(expected, solution1.matrixBlockSum(mat, 1));
31+
assertArrayEquals(expected, solution1.matrixBlockSum(mat, 1));
3232
}
3333

3434
@Test
@@ -43,6 +43,6 @@ public void test2() {
4343
{45, 45, 45},
4444
{45, 45, 45}
4545
};
46-
assertEquals(expected, solution1.matrixBlockSum(mat, 2));
46+
assertArrayEquals(expected, solution1.matrixBlockSum(mat, 2));
4747
}
4848
}

0 commit comments

Comments
 (0)