From 39ee07b8f61becb72adb7ca65c823c804be80293 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 28 Sep 2017 19:07:58 +0300 Subject: [PATCH] test: clarify fail messages --- modules/stitching/perf/perf_matchers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }