(t *testing.T)
| 225 | } |
| 226 | |
| 227 | func 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 | |
| 243 | func TestParAggregations2(t *testing.T) { |
| 244 | orFunc := func(bitmaps ...*Bitmap) *Bitmap { |
nothing calls this directly
no test coverage detected
searching dependent graphs…