Skip to content

Commit a14efb9

Browse files
refactor 94
1 parent 6fc5fba commit a14efb9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/java/com/fishercoder/_94Test.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,12 @@ public void test1() {
2727
CommonUtils.printList(inorder);
2828
}
2929

30+
@Test
31+
public void test2() {
32+
root = TreeUtils.constructBinaryTree(Arrays.asList(1, 2, 3, 4, null, 5, 6, null, 7, null, null, null, null, 8, 9));
33+
TreeUtils.printBinaryTree(root);
34+
inorder = solution1.inorderTraversal(root);
35+
CommonUtils.printList(inorder);
36+
}
37+
3038
}

0 commit comments

Comments
 (0)