Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy