MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / test_read

Function test_read

tests/ldbs.cc:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static void test_read()
56{
57 LDBS ldbs;
58 uint32_t trackDirectory = ldbs.read(testdata);
59
60 assert(trackDirectory == 0x1234);
61 assert(ldbs.get(0x14) == Bytes{1});
62 assert(ldbs.get(0x29) == Bytes{2});
63}
64
65int main(int argc, const char* argv[])
66{

Callers 1

mainFunction · 0.85

Calls 2

readMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected