Skip to content

Commit 73d5ecf

Browse files
refactor 844 tst
1 parent 5a3f166 commit 73d5ecf

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/test/java/com/fishercoder/_844Test.java

+26-26
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@
77
import static org.junit.Assert.assertEquals;
88

99
public class _844Test {
10-
private static _844.Solution1 solution1;
11-
12-
@BeforeClass
13-
public static void setup() {
14-
solution1 = new _844.Solution1();
15-
}
16-
17-
@Test
18-
public void test1() {
19-
assertEquals(true, solution1.backspaceCompare("ab#c", "ad#c"));
20-
}
21-
22-
@Test
23-
public void test2() {
24-
assertEquals(true, solution1.backspaceCompare("ab##", "c#d#"));
25-
}
26-
27-
@Test
28-
public void test3() {
29-
assertEquals(true, solution1.backspaceCompare("a##c", "#a#c"));
30-
}
31-
32-
@Test
33-
public void test4() {
34-
assertEquals(false, solution1.backspaceCompare("a#c", "b"));
35-
}
10+
private static _844.Solution1 solution1;
11+
12+
@BeforeClass
13+
public static void setup() {
14+
solution1 = new _844.Solution1();
15+
}
16+
17+
@Test
18+
public void test1() {
19+
assertEquals(true, solution1.backspaceCompare("ab#c", "ad#c"));
20+
}
21+
22+
@Test
23+
public void test2() {
24+
assertEquals(true, solution1.backspaceCompare("ab##", "c#d#"));
25+
}
26+
27+
@Test
28+
public void test3() {
29+
assertEquals(true, solution1.backspaceCompare("a##c", "#a#c"));
30+
}
31+
32+
@Test
33+
public void test4() {
34+
assertEquals(false, solution1.backspaceCompare("a#c", "b"));
35+
}
3636

3737
}

0 commit comments

Comments
 (0)