diff --git a/modules/stitching/perf/perf_matchers.cpp b/modules/stitching/perf/perf_matchers.cpp index 4e5b03d430..a2ffcc2526 100644 --- a/modules/stitching/perf/perf_matchers.cpp +++ b/modules/stitching/perf/perf_matchers.cpp @@ -166,12 +166,12 @@ PERF_TEST_P( matchVector, bestOf2NearestVectorFeatures, testing::Combine( if (pairwise_matches[i].src_img_idx < 0) continue; - EXPECT_TRUE(pairwise_matches[i].matches.size() > 100); + EXPECT_GT(pairwise_matches[i].matches.size(), 100); EXPECT_FALSE(pairwise_matches[i].H.empty()); ++matches_count; } - EXPECT_TRUE(matches_count > 0); + EXPECT_GT(matches_count, 0u); SANITY_CHECK_NOTHING(); }