Skip to content

Commit 22462af

Browse files
add a test for 3189
1 parent 263e016 commit 22462af

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/java/com/fishercoder/fourththousand/_3189Test.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.fishercoder.fourththousand;
22

3+
import com.fishercoder.common.utils.CommonUtils;
34
import com.fishercoder.solutions.fourththousand._3189;
45
import org.junit.jupiter.api.BeforeEach;
56
import org.junit.jupiter.api.Test;
@@ -21,4 +22,10 @@ public void test1() {
2122
}));
2223
}
2324

25+
@Test
26+
public void test2() {
27+
assertEquals(6, solution1.minMoves(CommonUtils
28+
.convertLeetCodeIrregularLengths2DArrayInputIntoJavaArray("[0,0],[0,1],[0,2],[0,3]")));
29+
}
30+
2431
}

0 commit comments

Comments
 (0)