mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
Merge pull request #5652 from jet47:core-test-math-warning-fix
This commit is contained in:
commit
1862d1995f
@ -2383,7 +2383,7 @@ TEST(Core_SolvePoly, regression_5599)
|
||||
double prec;
|
||||
prec = cv::solvePoly(coefs, r);
|
||||
EXPECT_LE(prec, 1e-6);
|
||||
EXPECT_EQ(4, r.total());
|
||||
EXPECT_EQ(4u, r.total());
|
||||
//std::cout << "Preciseness = " << prec << std::endl;
|
||||
//std::cout << "roots:\n" << r << "\n" << std::endl;
|
||||
ASSERT_EQ(CV_32FC2, r.type());
|
||||
@ -2399,7 +2399,7 @@ TEST(Core_SolvePoly, regression_5599)
|
||||
double prec;
|
||||
prec = cv::solvePoly(coefs, r);
|
||||
EXPECT_LE(prec, 1e-6);
|
||||
EXPECT_EQ(2, r.total());
|
||||
EXPECT_EQ(2u, r.total());
|
||||
//std::cout << "Preciseness = " << prec << std::endl;
|
||||
//std::cout << "roots:\n" << r << "\n" << std::endl;
|
||||
ASSERT_EQ(CV_32FC2, r.type());
|
||||
|
Loading…
Reference in New Issue
Block a user