MCPcopy Create free account
hub / github.com/apache/impala / TEST

Function TEST

be/src/util/roaring-bitmap-test.cc:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace impala {
29
30TEST(RoaringBitmap64Test, Empty) {
31 RoaringBitmap64 rbm;
32 RoaringBitmap64::BulkContext context;
33 ASSERT_TRUE(rbm.IsEmpty());
34 ASSERT_EQ(rbm.Max(), numeric_limits<uint64_t>::min());
35 ASSERT_EQ(rbm.Min(), numeric_limits<uint64_t>::max());
36 RoaringBitmap64::Iterator it(rbm);
37 ASSERT_EQ(it.GetEqualOrLarger(0), numeric_limits<uint64_t>::max());
38 ASSERT_EQ(it.GetEqualOrLarger(1000000), numeric_limits<uint64_t>::max());
39}
40
41TEST(RoaringBitmap64Test, Basic) {
42 RoaringBitmap64 rbm;

Callers

nothing calls this directly

Calls 15

minFunction · 0.85
maxFunction · 0.85
CheckDeserializeFunction · 0.85
CheckDeserializeFailureFunction · 0.85
GetEqualOrLargerMethod · 0.80
AddElementsMethod · 0.80
ContainsBulkMethod · 0.80
reserveMethod · 0.80
push_backMethod · 0.80
CardinalityMethod · 0.80
ExtractValuesFunction · 0.70

Tested by

no test coverage detected