mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 23:11:01 +00:00
correct bitmap test
This commit is contained in:
parent
4436bce943
commit
cb08749967
1 changed files with 2 additions and 2 deletions
|
|
@ -46,11 +46,11 @@ func TestSize(t *testing.T) {
|
|||
|
||||
//bitmap
|
||||
b := roaring.NewFileBitmap()
|
||||
for i := uint64(0); i < 2048; i++ {
|
||||
for i := uint64(0); i < 4096; i++ {
|
||||
b.DirectAdd(i)
|
||||
}
|
||||
|
||||
if b.Size() != 4096 {
|
||||
if b.Size() != 8192 {
|
||||
t.Fatalf("Size in bytes incorrect \n")
|
||||
}
|
||||
//convert to rle
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue