Skip to content

Commit 39ee07b

Browse files
committed
test: clarify fail messages
1 parent a6d634b commit 39ee07b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/stitching/perf/perf_matchers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@ PERF_TEST_P( matchVector, bestOf2NearestVectorFeatures, testing::Combine(
166166
if (pairwise_matches[i].src_img_idx < 0)
167167
continue;
168168

169-
EXPECT_TRUE(pairwise_matches[i].matches.size() > 100);
169+
EXPECT_GT(pairwise_matches[i].matches.size(), 100);
170170
EXPECT_FALSE(pairwise_matches[i].H.empty());
171171
++matches_count;
172172
}
173173

174-
EXPECT_TRUE(matches_count > 0);
174+
EXPECT_GT(matches_count, 0u);
175175

176176
SANITY_CHECK_NOTHING();
177177
}

0 commit comments

Comments
 (0)