MCPcopy Create free account
hub / github.com/cantabular/faststringmap / TestFastStringToUint32Empty

Function TestFastStringToUint32Empty

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

Source from the content-addressed store, hash-verified

14)
15
16func TestFastStringToUint32Empty(t *testing.T) {
17 ms := mapSliceN(map[string]uint32{"": 1, "a": 2, "foo": 3, "ß": 4}, 0)
18 checkWithMapSlice(t, ms)
19}
20
21func TestFastStringToUint32BigSpan(t *testing.T) {
22 ms := mapSliceN(map[string]uint32{"a!": 1, "a~": 2}, 2)

Callers

nothing calls this directly

Calls 2

mapSliceNFunction · 0.85
checkWithMapSliceFunction · 0.85

Tested by

no test coverage detected