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

Function assertBytes

tests/ldbs.cc:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19};
20
21static void assertBytes(const Bytes& want, const Bytes& got)
22{
23 if (want != got)
24 {
25 std::cout << "Wanted bytes:" << std::endl;
26 hexdump(std::cout, want);
27 std::cout << std::endl << "Produced bytes:" << std::endl;
28 hexdump(std::cout, got);
29 abort();
30 }
31}
32static void test_getset()
33{
34 LDBS ldbs;

Callers 1

test_writeFunction · 0.85

Calls 1

hexdumpFunction · 0.85

Tested by 1

test_writeFunction · 0.68