From a618d8bc9e5b9c7438ed83e53bfdcdcaee5dc377 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 5 Dec 2018 18:58:04 +0300 Subject: [PATCH] stitching(perf): update test threshold --- modules/stitching/perf/perf_matchers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stitching/perf/perf_matchers.cpp b/modules/stitching/perf/perf_matchers.cpp index 28e19c85f3..378d92a8dc 100644 --- a/modules/stitching/perf/perf_matchers.cpp +++ b/modules/stitching/perf/perf_matchers.cpp @@ -288,7 +288,7 @@ PERF_TEST_P( matchVector, affineBestOf2NearestVectorFeatures, testing::Combine( if (pairwise_matches[i].src_img_idx < 0) continue; - EXPECT_TRUE(pairwise_matches[i].matches.size() > 400); + EXPECT_GT(pairwise_matches[i].matches.size(), (size_t)300); EXPECT_FALSE(pairwise_matches[i].H.empty()); ++matches_count; }