Skip to content

Commit 1996d2b

Browse files
committed
Added test
1 parent 76d142c commit 1996d2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/g3601_3700/s3644_maximum_k_to_sort_a_permutation/SolutionTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ void sortPermutation2() {
2020
void sortPermutation3() {
2121
assertThat(new Solution().sortPermutation(new int[] {3, 2, 1, 0}), equalTo(0));
2222
}
23+
24+
@Test
25+
void sortPermutation4() {
26+
assertThat(new Solution().sortPermutation(new int[] {0, 1}), equalTo(0));
27+
}
2328
}

0 commit comments

Comments
 (0)