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

Function TEST_F

be/src/util/rle-test.cc:275–281  ·  view source on GitHub ↗

Basic test case for literal unpacking - two literals in a run.

Source from the content-addressed store, hash-verified

273
274/// Basic test case for literal unpacking - two literals in a run.
275TEST_F(RleTest, TwoLiteralRun) {
276 vector<int> values{1, 0};
277 ValidateRle(values, 1, nullptr, -1);
278 for (int width = 1; width <= MAX_WIDTH; ++width) {
279 ValidateRle(values, width, nullptr, -1);
280 }
281}
282
283TEST_F(RleTest, ValueSkipping) {
284 vector<int> seq;

Callers

nothing calls this directly

Calls 14

ValidateRleFunction · 0.85
MakeRandomSequenceFunction · 0.85
TestRleValuesFunction · 0.85
resizeMethod · 0.80
GetSingleValueMethod · 0.80
reserveMethod · 0.80
push_backMethod · 0.80
NextNumLiteralsMethod · 0.80
NextNumRepeatsMethod · 0.80
GetValuesMethod · 0.80
sizeMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected