MCPcopy Create free account
hub / github.com/RoaringBitmap/roaring / TestSetMany

Function TestSetMany

roaring64/bsi64_test.go:41–51  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

39}
40
41func TestSetMany(t *testing.T) {
42 bsi := setup()
43
44 upd := BitmapOf(30, 31, 32, 33, 34, 35, 101, 102, 103)
45 // update many including existing columns
46 bsi.SetMany(upd, 35)
47
48 matches := bsi.CompareValue(0, EQ, 35, 0, nil)
49
50 assert.True(t, upd.Equals(matches))
51}
52
53func TestSetAndGetBigValue(t *testing.T) {
54

Callers

nothing calls this directly

Calls 5

setupFunction · 0.70
BitmapOfFunction · 0.70
SetManyMethod · 0.45
CompareValueMethod · 0.45
EqualsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…