Skip to content

Commit cf8f922

Browse files
refactor 966
1 parent cc2cd81 commit cf8f922

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
public class _966 {
5353

54-
public static class Solution {
54+
public static class Solution1 {
5555
public String[] spellchecker(String[] wordlist, String[] queries) {
5656
Map<String, String> caseMap = new HashMap<>();
5757
Set<String> set = new HashSet<>();

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
public class _966Test {
17-
private static _966.Solution test;
17+
private static _966.Solution1 solution1;
1818

1919
@BeforeClass
2020
public static void setup() {
21-
test = new _966.Solution();
21+
solution1 = new _966.Solution1();
2222
}
2323

2424

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

0 commit comments

Comments
 (0)