Skip to content

Commit 8d3be94

Browse files
committed
Added tests
1 parent 2c388f1 commit 8d3be94

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/test/kotlin/g3601_3700/s3637_trionic_array_i/SolutionTest.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ internal class SolutionTest {
2020
equalTo<Boolean>(false),
2121
)
2222
}
23+
24+
@Test
25+
fun isTrionic3() {
26+
assertThat<Boolean>(Solution().isTrionic(intArrayOf(3, 7, 1)), equalTo<Boolean>(false))
27+
}
2328
}

src/test/kotlin/g3601_3700/s3644_maximum_k_to_sort_a_permutation/SolutionTest.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ internal class SolutionTest {
2828
equalTo<Int>(0),
2929
)
3030
}
31+
32+
@Test
33+
fun sortPermutation4() {
34+
assertThat<Int>(Solution().sortPermutation(intArrayOf(0, 1)), equalTo<Int>(0))
35+
}
3136
}

0 commit comments

Comments
 (0)