MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / TestPostingListCalculation

Function TestPostingListCalculation

posting/size_test.go:72–77  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

70}
71
72func TestPostingListCalculation(t *testing.T) {
73 list = &List{}
74 list.mutationMap = newMutableLayer()
75 // 144 is obtained from BenchmarkPostingList
76 require.Equal(t, uint64(144), list.DeepSize())
77}
78
79func TestUidPackCalculation(t *testing.T) {
80 pack = &pb.UidPack{}

Callers

nothing calls this directly

Calls 2

newMutableLayerFunction · 0.85
DeepSizeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…