MCPcopy Create free account
hub / github.com/bbc/audiowaveform / compareFiles

Function compareFiles

test/OptionHandlerTest.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86//------------------------------------------------------------------------------
87
88static void compareFiles(
89 const boost::filesystem::path& test_filename,
90 const boost::filesystem::path& ref_filename)
91{
92 std::vector<uint8_t> test_data = FileUtil::readFile(test_filename);
93 std::vector<uint8_t> ref_data = FileUtil::readFile(ref_filename);
94
95 compare(test_data, ref_data);
96}
97
98//------------------------------------------------------------------------------
99

Callers 1

runTestFunction · 0.85

Calls 2

readFileFunction · 0.85
compareFunction · 0.85

Tested by

no test coverage detected