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

Commit9db17c3

Browse files
[LEET-3402] fix unit test
1 parentdefdfd0 commit9db17c3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
packagecom.fishercoder.fourththousand;
22

3+
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
4+
35
importcom.fishercoder.common.utils.CommonUtils;
46
importcom.fishercoder.solutions.fourththousand._3402;
57
importorg.junit.jupiter.api.BeforeEach;
68
importorg.junit.jupiter.api.Test;
79

8-
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
9-
1010
publicclass_3402Test {
1111
private_3402.Solution1solution1;
1212

@@ -17,6 +17,10 @@ public void setup() {
1717

1818
@Test
1919
publicvoidtest1() {
20-
assertEquals(15,solution1.minimumOperations(CommonUtils.convertLeetCodeIrregularLengths2DArrayInputIntoJavaArray("[3,2],[1,3],[3,4],[0,1]")));
20+
assertEquals(
21+
15,
22+
solution1.minimumOperations(
23+
CommonUtils.convertLeetCodeIrregularLengths2DArrayInputIntoJavaArray(
24+
"[3,2],[1,3],[3,4],[0,1]")));
2125
}
2226
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp