Movatterモバイル変換


[0]ホーム

URL:


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

Commit22462af

Browse files
add a test for 3189
1 parent263e016 commit22462af

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
packagecom.fishercoder.fourththousand;
22

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp