Skip to content

Commit 4368fbf

Browse files
committed
二叉树 中序遍历 单测
1 parent 3acbcbd commit 4368fbf

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.crossoverjie.algorithm;
2+
3+
import org.junit.Test;
4+
5+
public class BinaryNodeTest {
6+
7+
@Test
8+
public void test1(){
9+
BinaryNode node = new BinaryNode() ;
10+
//创建二叉树
11+
node = node.createNode() ;
12+
System.out.println(node);
13+
14+
//中序遍历二叉树
15+
node.levelIterator(node) ;
16+
17+
}
18+
19+
}

0 commit comments

Comments
 (0)