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

Function TestRoaringBitmapAddMany

roaring64/roaring64_test.go:143–149  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

141}
142
143func TestRoaringBitmapAddMany(t *testing.T) {
144 array := []uint64{5580, 33722, 44031, 57276, 83097}
145 bmp := NewBitmap()
146 bmp.AddMany(array)
147
148 assert.EqualValues(t, len(array), bmp.GetCardinality())
149}
150
151// https://github.com/RoaringBitmap/roaring/issues/64
152func TestFlip64(t *testing.T) {

Callers

nothing calls this directly

Calls 3

AddManyMethod · 0.95
GetCardinalityMethod · 0.95
NewBitmapFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…