(t *testing.T)
| 236 | } |
| 237 | |
| 238 | func TestParAggregations(t *testing.T) { |
| 239 | for _, p := range [...]int{1, 2, 4} { |
| 240 | andFunc := func(bitmaps ...*Bitmap) *Bitmap { |
| 241 | return ParAnd(p, bitmaps...) |
| 242 | } |
| 243 | orFunc := func(bitmaps ...*Bitmap) *Bitmap { |
| 244 | return ParOr(p, bitmaps...) |
| 245 | } |
| 246 | |
| 247 | t.Run(fmt.Sprintf("par%d", p), func(t *testing.T) { |
| 248 | testAggregations(t, andFunc, orFunc, nil) |
| 249 | }) |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | func TestParHeapAggregations(t *testing.T) { |
| 254 | orFunc := func(bitmaps ...*Bitmap) *Bitmap { |
nothing calls this directly
no test coverage detected
searching dependent graphs…