(t *testing.T)
| 671 | } |
| 672 | |
| 673 | func TestRoaringBitmapBitmapOf(t *testing.T) { |
| 674 | array := []uint32{5580, 33722, 44031, 57276, 83097} |
| 675 | bmp := BitmapOf(array...) |
| 676 | |
| 677 | assert.EqualValues(t, len(array), bmp.GetCardinality()) |
| 678 | |
| 679 | by, _ := bmp.ToBytes() |
| 680 | |
| 681 | assert.EqualValues(t, len(by), bmp.GetSerializedSizeInBytes()) |
| 682 | } |
| 683 | |
| 684 | func TestRoaringBitmapAdd(t *testing.T) { |
| 685 | array := []uint32{5580, 33722, 44031, 57276, 83097} |
nothing calls this directly
no test coverage detected
searching dependent graphs…