mirror of
https://github.com/krahets/hello-algo.git
synced 2025-01-23 22:40:25 +08:00
test(binary_search_tree): update test param
use param value 7, not 5, function test param value with param value in example picture as same.
This commit is contained in:
parent
047e15e8d5
commit
a5e923a387
@ -23,7 +23,7 @@ func TestBinarySearchTree(t *testing.T) {
|
||||
fmt.Println("二叉树的最小结点为:", node.Val)
|
||||
|
||||
// 查找结点
|
||||
node = bst.Search(5)
|
||||
node = bst.Search(7)
|
||||
fmt.Println("查找到的结点对象为", node, ",结点值 =", node.Val)
|
||||
|
||||
// 插入结点
|
||||
|
Loading…
Reference in New Issue
Block a user