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 9db17c3

Browse files
[LEET-3402] fix unit test
1 parent defdfd0 commit 9db17c3

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

3+
import static org.junit.jupiter.api.Assertions.assertEquals;
4+
35
import com.fishercoder.common.utils.CommonUtils;
46
import com.fishercoder.solutions.fourththousand._3402;
57
import org.junit.jupiter.api.BeforeEach;
68
import org.junit.jupiter.api.Test;
79

8-
import static org.junit.jupiter.api.Assertions.assertEquals;
9-
1010
public class _3402Test {
1111
private _3402.Solution1 solution1;
1212

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

1818
@Test
1919
public void test1() {
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)

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