File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/kotlin/g3501_3600/s3541_find_most_frequent_vowel_and_consonant Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11package g3501_3600.s3541_find_most_frequent_vowel_and_consonant
22
3- import org.hamcrest.CoreMatchers
4- import org.hamcrest.MatcherAssert
3+ import org.hamcrest.CoreMatchers.equalTo
4+ import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
77internal class SolutionTest {
88 @Test
99 fun maxFreqSum () {
10- MatcherAssert . assertThat<Int ? >(Solution ().maxFreqSum(" successes" ), CoreMatchers . equalTo<Int ? >(6 ))
10+ assertThat<Int >(Solution ().maxFreqSum(" successes" ), equalTo<Int >(6 ))
1111 }
1212
1313 @Test
1414 fun maxFreqSum2 () {
15- MatcherAssert . assertThat<Int ? >(Solution ().maxFreqSum(" aeiaeia" ), CoreMatchers . equalTo<Int ? >(3 ))
15+ assertThat<Int >(Solution ().maxFreqSum(" aeiaeia" ), equalTo<Int >(3 ))
1616 }
1717}
You can’t perform that action at this time.
0 commit comments