MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / TEST

Function TEST

pj_datastore/tests/buffer_test.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// ===========================================================================
17
18TEST(RawBufferTest, DefaultConstructEmpty) {
19 RawBuffer buf;
20 EXPECT_TRUE(buf.empty());
21 EXPECT_EQ(buf.size(), 0u);
22}
23
24TEST(RawBufferTest, ConstructWithCapacity) {
25 constexpr std::size_t kCap = 256;

Callers

nothing calls this directly

Calls 15

capacityMethod · 0.80
reserveMethod · 0.80
initValidMethod · 0.80
sizeBytesMethod · 0.80
countNullsMethod · 0.80
bitSpanMethod · 0.80
sizeBitsMethod · 0.80
emptyMethod · 0.45
sizeMethod · 0.45
appendMethod · 0.45
dataMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected