MCPcopy Create free account
hub / github.com/cpputest/cpputest / removeFromQueue

Function removeFromQueue

examples/AllTests/CircularBufferTest.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 buffer->Put(seed + i);
48}
49void removeFromQueue(int howMany)
50{
51 for (int i = 0; i < howMany; i++)
52 buffer->Get();
53}
54};
55
56TEST(CircularBuffer, EmptyAfterCreation)

Callers 1

TESTFunction · 0.85

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected