(t *testing.T)
| 29 | } |
| 30 | |
| 31 | func TestBitMapStructure_SetBits(t *testing.T) { |
| 32 | bitmap := initBitMap() |
| 33 | defer bitmap.db.Clean() |
| 34 | |
| 35 | // Test SetBits function |
| 36 | bitmapErr = bitmap.SetBits(string(randkv.GetTestKey(1)), 0, true, 1, false) |
| 37 | assert.Nil(t, bitmapErr) |
| 38 | } |
| 39 | |
| 40 | func TestBitMapStructure_GetBit(t *testing.T) { |
| 41 | bitmap := initBitMap() |
nothing calls this directly
no test coverage detected