MCPcopy
hub / github.com/dgraph-io/dgraph / TestUIDListIntersect4Packed

Function TestUIDListIntersect4Packed

algo/packed_test.go:143–148  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

141}
142
143func TestUIDListIntersect4Packed(t *testing.T) {
144 u := newUidPack([]uint64{1, 2, 3})
145 v := newUidPack([]uint64{0, 5})
146 o := IntersectWithLinPacked(u, v)
147 require.Empty(t, codec.Decode(o, 0))
148}
149
150func TestUIDListIntersect5Packed(t *testing.T) {
151 u := newUidPack([]uint64{1, 2, 3})

Callers

nothing calls this directly

Calls 3

DecodeFunction · 0.92
IntersectWithLinPackedFunction · 0.85
newUidPackFunction · 0.70

Tested by

no test coverage detected