MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / TEST

Function TEST

test/ContinuousBuffer.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65TEST(ContinuousBufferTest, InitialSize)
66{
67 // Construct a buffer of a certain initial size
68 render::ContinuousBuffer<int> buffer(2 << 16);
69 EXPECT_NE(buffer.getBufferStart(), nullptr);
70}
71
72TEST(ContinuousBufferTest, ZeroInitialSize)
73{

Callers

nothing calls this directly

Calls 15

checkDataFunction · 0.85
checkContinuousDataFunction · 0.85
checkDataInBufferObjectFunction · 0.85
getBufferStartMethod · 0.80
getNumUsedElementsMethod · 0.80
setSubDataMethod · 0.80
backMethod · 0.80
copyFunction · 0.50
allocateMethod · 0.45
sizeMethod · 0.45
setDataMethod · 0.45

Tested by

no test coverage detected