1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 08:32:40 +08:00
This commit is contained in:
2022-11-18 16:56:44 +08:00
parent bd85140a78
commit f3ca69f159
2 changed files with 34 additions and 2 deletions

View File

@ -85,3 +85,14 @@ func BenchmarkLinkedList(b *testing.B) {
l.PushBack(i)
}
}
func TestRemoveNode(t *testing.T) {
l := list.NewLinkedList(1, 2, 4)
l.ForEach(func(i int) bool {
t.Log(i)
return false
})
}