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

Function CheckInvariant

libs/coding/coding_tests/files_container_tests.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83namespace
84{
85void CheckInvariant(FilesContainerR & reader, string const & tag, int64_t test)
86{
87 FilesContainerR::TReader r = reader.GetReader(tag);
88 TEST_EQUAL(test, ReadPrimitiveFromPos<int64_t>(r, 0), ());
89}
90} // namespace
91
92UNIT_TEST(FilesContainer_Shared)

Callers 1

UNIT_TESTFunction · 0.85

Calls 1

GetReaderMethod · 0.45

Tested by

no test coverage detected