File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
src/test/java/com/fishercoder Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 6
6
import org .junit .Test ;
7
7
8
8
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 ;
11
11
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
+ }
16
16
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 );
25
25
26
- solution1 .connect (root );
27
- }
26
+ solution1 .connect (root );
27
+ }
28
28
}
You can’t perform that action at this time.
0 commit comments