Skip to content

Commit 619442a

Browse files
committed
Added tests
1 parent 6a7942a commit 619442a

File tree

1 file changed

+15
-0
lines changed
  • src/test/kotlin/g3501_3600/s3536_maximum_product_of_two_digits

1 file changed

+15
-0
lines changed

src/test/kotlin/g3501_3600/s3536_maximum_product_of_two_digits/SolutionTest.kt

+15
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,19 @@ internal class SolutionTest {
1919
fun maxProduct3() {
2020
assertThat<Int>(Solution().maxProduct(124), equalTo<Int>(8))
2121
}
22+
23+
@Test
24+
fun maxProduct4() {
25+
assertThat<Int>(Solution().maxProduct(453), equalTo<Int>(20))
26+
}
27+
28+
@Test
29+
fun maxProduct5() {
30+
assertThat<Int>(Solution().maxProduct(437), equalTo<Int>(28))
31+
}
32+
33+
@Test
34+
fun maxProduct6() {
35+
assertThat<Int>(Solution().maxProduct(724), equalTo<Int>(28))
36+
}
2237
}

0 commit comments

Comments
 (0)