MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / assertAggregation

Function assertAggregation

aggregation_test.go:232–236  ·  view source on GitHub ↗
(t *testing.T, expected uint64, aggr func(bitmaps ...*Bitmap) *Bitmap, bitmaps ...*Bitmap)

Source from the content-addressed store, hash-verified

230}
231
232func 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
238func TestParAggregations(t *testing.T) {
239 for _, p := range [...]int{1, 2, 4} {

Callers 1

testAggregationsFunction · 0.70

Calls 1

GetCardinalityMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…