mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
test edge case (end exclusive) in arrayCountRange for range [start, end)
This commit is contained in:
parent
1e0a529b4e
commit
c8ef6fde89
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ func TestBitmap_BitmapCountRange(t *testing.T) {
|
|||
|
||||
func TestBitmap_ArrayCountRange(t *testing.T) {
|
||||
bm0 := roaring.NewBitmap(0, 2683177, 2683313)
|
||||
if n := bm0.CountRange(1, 2683311); n != 1 {
|
||||
if n := bm0.CountRange(1, 2683313); n != 1 {
|
||||
t.Fatalf("unexpected n: %d", n)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue