File tree 1 file changed +3
-4
lines changed
src/test/java/com/fishercoder
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
package com .fishercoder ;
2
2
3
3
import com .fishercoder .solutions ._57 ;
4
+ import org .junit .jupiter .api .Assertions ;
4
5
import org .junit .jupiter .api .BeforeEach ;
5
6
import org .junit .jupiter .api .Test ;
6
7
7
- import static org .junit .jupiter .api .Assertions .assertEquals ;
8
-
9
8
public class _57Test {
10
9
private static _57 .Solution1 solution1 ;
11
10
@@ -16,7 +15,7 @@ public void setup() {
16
15
17
16
@ Test
18
17
public void test1 () {
19
- assertEquals (new int [][]{
18
+ Assertions . assertArrayEquals (new int [][]{
20
19
{1 , 5 },
21
20
{6 , 9 }
22
21
}, solution1 .insert (new int [][]{
@@ -28,7 +27,7 @@ public void test1() {
28
27
29
28
@ Test
30
29
public void test2 () {
31
- assertEquals (new int [][]{
30
+ Assertions . assertArrayEquals (new int [][]{
32
31
{1 , 2 },
33
32
{3 , 10 },
34
33
{12 , 16 }
You can’t perform that action at this time.
0 commit comments