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)) } }