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 1
1
package g3501_3600.s3541_find_most_frequent_vowel_and_consonant
2
2
3
- import org.hamcrest.CoreMatchers
4
- import org.hamcrest.MatcherAssert
3
+ import org.hamcrest.CoreMatchers.equalTo
4
+ import org.hamcrest.MatcherAssert.assertThat
5
5
import org.junit.jupiter.api.Test
6
6
7
7
internal class SolutionTest {
8
8
@Test
9
9
fun maxFreqSum () {
10
- MatcherAssert . assertThat<Int ? >(Solution ().maxFreqSum(" successes" ), CoreMatchers . equalTo<Int ? >(6 ))
10
+ assertThat<Int >(Solution ().maxFreqSum(" successes" ), equalTo<Int >(6 ))
11
11
}
12
12
13
13
@Test
14
14
fun maxFreqSum2 () {
15
- MatcherAssert . assertThat<Int ? >(Solution ().maxFreqSum(" aeiaeia" ), CoreMatchers . equalTo<Int ? >(3 ))
15
+ assertThat<Int >(Solution ().maxFreqSum(" aeiaeia" ), equalTo<Int >(3 ))
16
16
}
17
17
}
You can’t perform that action at this time.
0 commit comments