MCPcopy
hub / github.com/cornelk/hashmap / TestListNew

Function TestListNew

list_test.go:9–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestListNew(t *testing.T) {
10 l := NewList[uintptr, uintptr]()
11 node := l.First()
12 assert.True(t, node == nil)
13
14 node = l.head.Next()
15 assert.True(t, node == nil)
16}

Callers

nothing calls this directly

Calls 4

TrueFunction · 0.92
NewListFunction · 0.85
FirstMethod · 0.80
NextMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…