We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798701a commit f10f34aCopy full SHA for f10f34a
src/test/java/com/fishercoder/_57Test.java
@@ -1,11 +1,10 @@
1
package com.fishercoder;
2
3
import com.fishercoder.solutions._57;
4
+import org.junit.jupiter.api.Assertions;
5
import org.junit.jupiter.api.BeforeEach;
6
import org.junit.jupiter.api.Test;
7
-import static org.junit.jupiter.api.Assertions.assertEquals;
8
-
9
public class _57Test {
10
private static _57.Solution1 solution1;
11
@@ -16,7 +15,7 @@ public void setup() {
16
15
17
@Test
18
public void test1() {
19
- assertEquals(new int[][]{
+ Assertions.assertArrayEquals(new int[][]{
20
{1, 5},
21
{6, 9}
22
}, solution1.insert(new int[][]{
@@ -28,7 +27,7 @@ public void test1() {
28
27
29
30
public void test2() {
31
32
{1, 2},
33
{3, 10},
34
{12, 16}
0 commit comments