mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 19:37:51 +00:00
bitmap container xor empty test
This commit is contained in:
parent
b5bd8433cc
commit
1c468fb38e
1 changed files with 6 additions and 0 deletions
|
|
@ -173,6 +173,12 @@ func TestBitmap_Xor_ArrayBitmap(t *testing.T) {
|
|||
if n := result.Count(); n > 0 {
|
||||
t.Fatalf("unexpected n: %d", n)
|
||||
}
|
||||
|
||||
empty := roaring.NewBitmap()
|
||||
result = bm1.Xor(empty)
|
||||
if n := result.Count(); n != 5000 {
|
||||
t.Fatalf("unexpected n: %d", n)
|
||||
}
|
||||
}
|
||||
|
||||
func TestBitmap_Xor_BitmapBitmap(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue