Skip to content

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)
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