Skip to content

Commit 316b25c

Browse files
committed
Added test
1 parent 9703d0e commit 316b25c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/test/java/g3501_3600/s3527_find_the_most_common_response/SolutionTest.java

+14
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,18 @@ void findCommonResponse2() {
3232
List.of("great", "good"))),
3333
equalTo("bad"));
3434
}
35+
36+
@Test
37+
void findCommonResponse3() {
38+
assertThat(
39+
new Solution()
40+
.findCommonResponse(
41+
List.of(
42+
List.of("fed", "vgdb", "w", "zs", "fed"),
43+
List.of("f", "cz", "pah", "gj", "rpxr", "ugyi"),
44+
List.of("t", "oja", "c"),
45+
List.of("ni", "fed", "mcox", "a", "f", "ni", "g"),
46+
List.of("ybk", "xght", "jje"))),
47+
equalTo("f"));
48+
}
3549
}

0 commit comments

Comments
 (0)