MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / TestNextAbsent

Function TestNextAbsent

bitmapcontainer_test.go:406–413  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

404}
405
406func TestNextAbsent(t *testing.T) {
407 bc := newBitmapContainer()
408 for i := 0; i < 1<<16; i++ {
409 bc.iadd(uint16(i))
410 }
411 v := bc.nextAbsentValue((1 << 16) - 1)
412 assert.Equal(t, v, 65536)
413}
414
415func TestBitMapContainerValidate(t *testing.T) {
416 bc := newBitmapContainer()

Callers

nothing calls this directly

Calls 3

newBitmapContainerFunction · 0.85
iaddMethod · 0.65
nextAbsentValueMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…