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

Function TestNew

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

Source from the content-addressed store, hash-verified

14)
15
16func TestNew(t *testing.T) {
17 t.Parallel()
18 m := New[uintptr, uintptr]()
19 assert.Equal(t, 0, m.Len())
20}
21
22func TestSetString(t *testing.T) {
23 t.Parallel()

Callers

nothing calls this directly

Calls 3

EqualFunction · 0.92
NewFunction · 0.85
LenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…