Skip to content

Commit

Permalink
Adding logging to shi_tomasi_score test.
Browse files Browse the repository at this point in the history
  • Loading branch information
gpdaniels committed Jul 17, 2024
1 parent b255393 commit adbf76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vision/feature/score/shi_tomasi_score.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ TEST(shi_tomasi_score, function, gradient_with_inverted_square) {

for (unsigned int i = 0; i < features_count; ++i) {
const float response = gtl::shi_tomasi_score(&data[features[i].y][features[i].x], data_width);
REQUIRE(testbench::is_value_equal(features[i].response, response));
REQUIRE(testbench::is_value_equal(features[i].response, response), "%f != %f", features[i].response, response);
}
}

0 comments on commit adbf76a

Please sign in to comment.