[render-test] Add tolerance to file-size tests

This commit is contained in:
Thiago Marcos P. Santos
2019-10-13 17:49:49 +03:00
parent 2187980a87
commit 8b3a222c81
9 changed files with 27 additions and 16 deletions

View File

@@ -478,7 +478,7 @@ TestMetrics readExpectedMetrics(const mbgl::filesystem::path& path) {
result.fileSize.emplace(std::piecewise_construct,
std::forward_as_tuple(std::move(mark)),
std::forward_as_tuple(std::move(filePath), probeValue[2].GetUint64()));
std::forward_as_tuple(std::move(filePath), probeValue[2].GetUint64(), 0.f));
}
}