(t *testing.T)
| 21 | } |
| 22 | |
| 23 | func TestBitmapStructure_SetBit(t *testing.T) { |
| 24 | // Setup the bitmap structure |
| 25 | bm := initBitmap() |
| 26 | err := bm.SetBit("1", 7) |
| 27 | assert.NoError(t, err) |
| 28 | val, err := bm.GetBits("1") |
| 29 | assert.NoError(t, err) |
| 30 | assert.True(t, val.At(7)) |
| 31 | |
| 32 | } |
| 33 | func TestBitmapStructure_SetBits(t *testing.T) { |
| 34 | // Setup the bitmap structure |
| 35 | bm := initBitmap() |
nothing calls this directly
no test coverage detected