Changed check condition in tests in case ipp disabled.

This commit is contained in:
Alexander Karsakov
2014-05-06 14:24:49 +04:00
parent dc91be86b2
commit f6a8ac2f6c
2 changed files with 12 additions and 4 deletions

View File

@@ -189,7 +189,11 @@ void BaseHoughLineTest::run_test(int type)
else if (type == PROBABILISTIC)
count = countMatIntersection<Vec4i>(exp_lines, lines, 1e-4f, 0.f);
#if (0 && defined(HAVE_IPP) && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 801)
EXPECT_GE( count, (int) (exp_lines.total() * 0.8) );
#else
EXPECT_EQ( count, (int) exp_lines.total());
#endif
}
TEST_P(StandartHoughLinesTest, regression)