MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / checkFilesEqual

Function checkFilesEqual

CesiumNativeTests/src/checkFilesEqual.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10namespace CesiumNativeTests {
11void checkFilesEqual(
12 const std::filesystem::path& fileA,
13 const std::filesystem::path& fileB) {
14 const std::vector<std::byte>& bytes = readFile(fileA);
15 const std::vector<std::byte>& bytes2 = readFile(fileB);
16
17 REQUIRE(bytes == bytes2);
18}
19} // namespace CesiumNativeTests

Calls 1

readFileFunction · 0.85

Tested by

no test coverage detected