(t *testing.T, expected uint64, aggr func(bitmaps ...*Bitmap) *Bitmap, bitmaps ...*Bitmap)
| 219 | } |
| 220 | |
| 221 | func assertAggregation(t *testing.T, expected uint64, aggr func(bitmaps ...*Bitmap) *Bitmap, bitmaps ...*Bitmap) { |
| 222 | if aggr != nil { |
| 223 | assert.Equal(t, aggr(bitmaps...).GetCardinality(), expected) |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | func TestParAggregations(t *testing.T) { |
| 228 | for _, p := range [...]int{0, 1, 2, 4} { |
no test coverage detected
searching dependent graphs…