Skip to content

Commit f128711

Browse files
add test for 4070
1 parent 9fbb40a commit f128711

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.fishercoder.fifththousand;
2+
3+
import com.fishercoder.solutions.fifththousand._4070;
4+
import org.junit.jupiter.api.BeforeEach;
5+
import org.junit.jupiter.api.Test;
6+
7+
import static org.junit.jupiter.api.Assertions.assertEquals;
8+
9+
public class _4070Test {
10+
private _4070.Solution1 solution1;
11+
12+
@BeforeEach
13+
public void setup() {
14+
solution1 = new _4070.Solution1();
15+
}
16+
17+
@Test
18+
public void test1() {
19+
assertEquals(12, solution1.minRotations("1200210200"));
20+
}
21+
}

0 commit comments

Comments
 (0)