File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/fishercoder/secondthousand Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
import org .junit .jupiter .api .BeforeEach ;
5
5
import org .junit .jupiter .api .Test ;
6
6
7
- import static org .junit .jupiter .api .Assertions .assertEquals ;
7
+ import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
8
8
9
9
public class _1314Test {
10
10
private static _1314 .Solution1 solution1 ;
@@ -28,7 +28,7 @@ public void test1() {
28
28
{27 , 45 , 33 },
29
29
{24 , 39 , 28 }
30
30
};
31
- assertEquals (expected , solution1 .matrixBlockSum (mat , 1 ));
31
+ assertArrayEquals (expected , solution1 .matrixBlockSum (mat , 1 ));
32
32
}
33
33
34
34
@ Test
@@ -43,6 +43,6 @@ public void test2() {
43
43
{45 , 45 , 45 },
44
44
{45 , 45 , 45 }
45
45
};
46
- assertEquals (expected , solution1 .matrixBlockSum (mat , 2 ));
46
+ assertArrayEquals (expected , solution1 .matrixBlockSum (mat , 2 ));
47
47
}
48
48
}
You can’t perform that action at this time.
0 commit comments