MCPcopy
hub / github.com/perkeep/perkeep / TestMemoryKV

Function TestMemoryKV

pkg/sorted/mem_test.go:26–29  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

24)
25
26func TestMemoryKV(t *testing.T) {
27 kv := sorted.NewMemoryKeyValue()
28 kvtest.TestSorted(t, kv)
29}
30
31// TODO(mpl): move this test into kvtest. But that might require
32// kvtest taking a "func () sorted.KeyValue) constructor param,

Callers

nothing calls this directly

Calls 2

NewMemoryKeyValueFunction · 0.92
TestSortedFunction · 0.92

Tested by

no test coverage detected