(t *testing.T, expected uint64, aggr func(bitmaps ...*Bitmap) *Bitmap, bitmaps ...*Bitmap)
| 230 | } |
| 231 | |
| 232 | func assertAggregation(t *testing.T, expected uint64, aggr func(bitmaps ...*Bitmap) *Bitmap, bitmaps ...*Bitmap) { |
| 233 | if aggr != nil { |
| 234 | assert.Equal(t, aggr(bitmaps...).GetCardinality(), expected) |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | func TestParAggregations(t *testing.T) { |
| 239 | for _, p := range [...]int{1, 2, 4} { |
no test coverage detected
searching dependent graphs…