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

Function TEST

be/src/util/bitmap-test.cc:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42TEST(Bitmap, SetupTest) {
43 Bitmap bm1(0);
44 EXPECT_EQ(bm1.num_bits(), 0);
45 Bitmap bm2(1);
46 EXPECT_EQ(bm2.num_bits(), 1);
47 Bitmap bm3(63);
48 EXPECT_EQ(bm3.num_bits(), 63);
49 Bitmap bm4(64);
50 EXPECT_EQ(bm4.num_bits(), 64);
51}
52
53TEST(Bitmap, SetAllTest) {
54 Bitmap bm(1024);

Callers

nothing calls this directly

Calls 7

CreateRandomBitmapFunction · 0.85
CheckAllFunction · 0.85
num_bitsMethod · 0.80
SetAllBitsMethod · 0.80
SetMethod · 0.45
GetMethod · 0.45
MemUsageMethod · 0.45

Tested by

no test coverage detected