MCPcopy Create free account
hub / github.com/RoaringBitmap/roaring / TestParAggregations

Function TestParAggregations

roaring64/aggregation64_test.go:227–241  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

225}
226
227func TestParAggregations(t *testing.T) {
228 for _, p := range [...]int{0, 1, 2, 4} {
229 //andFunc := func(bitmaps ...*Bitmap) *Bitmap {
230 // return ParAnd(p, bitmaps...)
231 //}
232 orFunc := func(bitmaps ...*Bitmap) *Bitmap {
233 return ParOr(p, bitmaps...)
234 }
235
236 t.Run(fmt.Sprintf("par%d", p), func(t *testing.T) {
237 //testAggregations(t, andFunc, orFunc, nil)
238 testAggregations(t, nil, orFunc, nil)
239 })
240 }
241}
242
243func TestParAggregations2(t *testing.T) {
244 orFunc := func(bitmaps ...*Bitmap) *Bitmap {

Callers

nothing calls this directly

Calls 2

ParOrFunction · 0.70
testAggregationsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…