Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 7 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /