MCPcopy Create free account
hub / github.com/comaps/comaps / UNIT_TEST

Function UNIT_TEST

libs/coding/coding_tests/writer_test.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41} // namespace
42
43UNIT_TEST(MemWriter_Smoke)
44{
45 vector<char> s;
46 MemWriter<vector<char>> writer(s);
47 TestWrite(writer);
48 TEST_EQUAL(string(s.begin(), s.end()), kTestWriteStr, ());
49}
50
51UNIT_TEST(FileWriter_Smoke)
52{

Callers

nothing calls this directly

Calls 14

TestWriteFunction · 0.85
DeleteFileXFunction · 0.85
TESTFunction · 0.85
WriteTestData1Function · 0.85
WriteTestData2Function · 0.85
ReadTestDataFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
resizeMethod · 0.45
SizeMethod · 0.45
ReadMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected