From a5e923a387f8380ede28b0b7a4bf0983e02b6705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=9A=E5=9B=BD=E7=8E=AE?= Date: Thu, 29 Dec 2022 14:44:15 +0800 Subject: [PATCH] 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. --- codes/go/chapter_tree/binary_search_tree_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/go/chapter_tree/binary_search_tree_test.go b/codes/go/chapter_tree/binary_search_tree_test.go index 0d0369a7..d98e5d66 100644 --- a/codes/go/chapter_tree/binary_search_tree_test.go +++ b/codes/go/chapter_tree/binary_search_tree_test.go @@ -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) // 插入结点