Fix bitmap-related benchmark
This commit is contained in:
parent
c895a21a16
commit
e0a4831f27
|
@ -35,7 +35,7 @@ func BenchmarkIterBitmapsDistinct(t *testing.B) {
|
||||||
output := iter.ToSlice(iterBitmapsDistinct(&skipCopy, first, second))
|
output := iter.ToSlice(iterBitmapsDistinct(&skipCopy, first, second))
|
||||||
t.StopTimer()
|
t.StopTimer()
|
||||||
assert.Equal(t, []interface{}{0, 3, 2}, output)
|
assert.Equal(t, []interface{}{0, 3, 2}, output)
|
||||||
assert.Equal(t, []int{1}, skip.ToSortedSlice())
|
assert.Equal(t, []bitmap.BitIndex{1}, skip.ToSortedSlice())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue