(t *testing.T)
| 404 | } |
| 405 | |
| 406 | func 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 | |
| 415 | func TestBitMapContainerValidate(t *testing.T) { |
| 416 | bc := newBitmapContainer() |
nothing calls this directly
no test coverage detected
searching dependent graphs…