Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf8f922

Browse files
refactor 966
1 parentcc2cd81 commitcf8f922

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/main/java/com/fishercoder/solutions/_966.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
publicclass_966 {
5353

54-
publicstaticclassSolution {
54+
publicstaticclassSolution1 {
5555
publicString[]spellchecker(String[]wordlist,String[]queries) {
5656
Map<String,String>caseMap =newHashMap<>();
5757
Set<String>set =newHashSet<>();

‎src/test/java/com/fishercoder/_966Test.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414

1515

1616
publicclass_966Test {
17-
privatestatic_966.Solutiontest;
17+
privatestatic_966.Solution1solution1;
1818

1919
@BeforeClass
2020
publicstaticvoidsetup() {
21-
test =new_966.Solution();
21+
solution1 =new_966.Solution1();
2222
}
2323

2424

2525
@Test
2626
publicvoidtest1() {
2727
assertEquals(
2828
Arrays.toString(newString[]{"kite","KiTe","KiTe","Hare","hare","","","KiTe","","KiTe"}),
29-
Arrays.toString(test
29+
Arrays.toString(solution1
3030
.spellchecker(
3131
newString[]{"KiTe","kite","hare","Hare"},
3232
newString[]{"kite","Kite","KiTe","Hare","HARE","Hear","hear","keti","keet","keto"})));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp