Skip to content

Commit e046788

Browse files
refactor 102
1 parent e39c8e4 commit e046788

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/java/com/fishercoder/_102Test.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,11 @@ public void test1() {
2525
CommonUtils.printListList(solution1.levelOrder(treeRoot));
2626
}
2727

28+
@Test
29+
public void test2() {
30+
treeRoot = TreeUtils.constructBinaryTree(Arrays.asList(3, 9, 20, null, null, 15, 7));
31+
TreeUtils.printBinaryTree(treeRoot);
32+
CommonUtils.printListList(solution1.levelOrder(treeRoot));
33+
}
34+
2835
}

0 commit comments

Comments
 (0)