Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ralim/usb-pd
/ TEST_GROUP
Function
TEST_GROUP
tests/test_ringbuffer.cpp:6–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
#include <iostream>
5
#include <stdint.h>
6
TEST_GROUP(RINGBUFFER){};
7
TEST(RINGBUFFER, BasicCount) {
8
ringbuffer<int, 10> buffer;
9
for (int i = 0; i < 10; i++) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected