Skip to content

Commit 03aa4e5

Browse files
add a test for 462
1 parent c8a7c9f commit 03aa4e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/com/fishercoder/_462Test.java

+5
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ public void test1() {
1919
assertEquals(2, solution1.minMoves2(new int[]{1, 2, 3}));
2020
}
2121

22+
@Test
23+
public void test2() {
24+
assertEquals(0, solution1.minMoves2(new int[]{1}));
25+
}
26+
2227
}

0 commit comments

Comments
 (0)