hello-algo/codes/go/pkg/list_node_test.go
Yudong Jin 034ee65e9a
Fix bugs and harmonize the code comments (#1199)
* Fix the comment in array_deque.go

* Fix the comment in bucket_sort.c

* Translate the Java code comments to Chinese

* Bug fixes

* 二分查找 -> 二分搜尋

* Harmonize comments in `utils` between multiple programming languages
2024-03-31 03:06:41 +08:00

16 lines
250 B
Go

// File: list_node_test.go
// Created Time: 2022-11-25
// Author: Reanon (793584285@qq.com)
package pkg
import (
"testing"
)
func TestListNode(t *testing.T) {
arr := []int{2, 3, 5, 6, 7}
head := ArrayToLinkedList(arr)
PrintLinkedList(head)
}