Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ UNIT_TEST
Function
UNIT_TEST
libs/coding/coding_tests/mem_file_writer_test.cpp:10–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
#include <vector>
9
10
UNIT_TEST(MemWriterEmpty)
11
{
12
std::vector<char> data;
13
{
14
MemWriter<std::vector<char>> writer(data);
15
}
16
TEST(data.empty(), (data));
17
}
18
19
UNIT_TEST(MemWriterSimple)
20
{
Callers
nothing calls this directly
Calls
6
TEST
Function · 0.85
empty
Method · 0.45
Write
Method · 0.45
size
Method · 0.45
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected