Skip to content

Commit cd9536b

Browse files
refactor 117
1 parent c1dceb4 commit cd9536b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/test/java/com/fishercoder/_117Test.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@
66
import org.junit.Test;
77

88
public class _117Test {
9-
private static _117.Solution1 solution1;
10-
private static TreeLinkNode root;
9+
private static _117.Solution1 solution1;
10+
private static TreeLinkNode root;
1111

12-
@BeforeClass
13-
public static void setup() {
14-
solution1 = new _117.Solution1();
15-
}
12+
@BeforeClass
13+
public static void setup() {
14+
solution1 = new _117.Solution1();
15+
}
1616

17-
@Test
18-
public void test1() {
19-
root = new TreeLinkNode(1);
20-
root.left = new TreeLinkNode(2);
21-
root.right = new TreeLinkNode(3);
22-
root.left.left = new TreeLinkNode(4);
23-
root.left.right = new TreeLinkNode(5);
24-
root.right.right = new TreeLinkNode(7);
17+
@Test
18+
public void test1() {
19+
root = new TreeLinkNode(1);
20+
root.left = new TreeLinkNode(2);
21+
root.right = new TreeLinkNode(3);
22+
root.left.left = new TreeLinkNode(4);
23+
root.left.right = new TreeLinkNode(5);
24+
root.right.right = new TreeLinkNode(7);
2525

26-
solution1.connect(root);
27-
}
26+
solution1.connect(root);
27+
}
2828
}

0 commit comments

Comments
 (0)