From e2eca6ca369d7f39edd382e1e05e91c4152a265c Mon Sep 17 00:00:00 2001 From: Valentyn Kolesnikov Date: Wed, 25 Jun 2025 11:32:43 +0300 Subject: [PATCH] Improved task 3541 --- .../SolutionTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/kotlin/g3501_3600/s3541_find_most_frequent_vowel_and_consonant/SolutionTest.kt b/src/test/kotlin/g3501_3600/s3541_find_most_frequent_vowel_and_consonant/SolutionTest.kt index 9c3d4932..8674ef73 100644 --- a/src/test/kotlin/g3501_3600/s3541_find_most_frequent_vowel_and_consonant/SolutionTest.kt +++ b/src/test/kotlin/g3501_3600/s3541_find_most_frequent_vowel_and_consonant/SolutionTest.kt @@ -1,17 +1,17 @@ package g3501_3600.s3541_find_most_frequent_vowel_and_consonant -import org.hamcrest.CoreMatchers -import org.hamcrest.MatcherAssert +import org.hamcrest.CoreMatchers.equalTo +import org.hamcrest.MatcherAssert.assertThat import org.junit.jupiter.api.Test internal class SolutionTest { @Test fun maxFreqSum() { - MatcherAssert.assertThat(Solution().maxFreqSum("successes"), CoreMatchers.equalTo(6)) + assertThat(Solution().maxFreqSum("successes"), equalTo(6)) } @Test fun maxFreqSum2() { - MatcherAssert.assertThat(Solution().maxFreqSum("aeiaeia"), CoreMatchers.equalTo(3)) + assertThat(Solution().maxFreqSum("aeiaeia"), equalTo(3)) } }