Skip to content

Commit

Permalink
Rerunning tests with a bit more info
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFlt committed May 24, 2024
1 parent e0a6595 commit b869ace
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/visual_features/test/feature/testLuminanceMapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,8 @@ SCENARIO("Using DCT features", "[visual_features]")
for (unsigned i = 0; i < I.getRows(); ++i) {
for (unsigned j = 0; j < I.getCols(); ++j) {
const int diff = abs(static_cast<int>(I[i][j]) - static_cast<int>(Ir[i][j]));
if (diff > 2) {
FAIL();
}
REQUIRE(diff < 2);
INFO("i = " + std::to_string(i) + ", j = " + std::to_string(j));
}
}
}
Expand Down

0 comments on commit b869ace

Please sign in to comment.