From: Alexander Alekhin Date: Thu, 28 Sep 2017 16:07:58 +0000 (+0300) Subject: test: clarify fail messages X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~559^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39ee07b8f61becb72adb7ca65c823c804be80293;p=platform%2Fupstream%2Fopencv.git test: clarify fail messages --- diff --git a/modules/stitching/perf/perf_matchers.cpp b/modules/stitching/perf/perf_matchers.cpp index 4e5b03d..a2ffcc2 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(); }