Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
96919156
Commit
96919156
authored
Jul 04, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6761 from alalek:fix_warnings
parents
7dc5332a
3844ee78
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
test_math.cpp
modules/core/test/test_math.cpp
+2
-2
test_utils.cpp
modules/core/test/test_utils.cpp
+3
-3
No files found.
modules/core/test/test_math.cpp
View file @
96919156
...
...
@@ -2384,7 +2384,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
(
4
u
,
r
.
total
());
//std::cout << "Preciseness = " << prec << std::endl;
//std::cout << "roots:\n" << r << "\n" << std::endl;
ASSERT_EQ
(
CV_32FC2
,
r
.
type
());
...
...
@@ -2400,7 +2400,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
(
2
u
,
r
.
total
());
//std::cout << "Preciseness = " << prec << std::endl;
//std::cout << "roots:\n" << r << "\n" << std::endl;
ASSERT_EQ
(
CV_32FC2
,
r
.
type
());
...
...
modules/core/test/test_utils.cpp
View file @
96919156
...
...
@@ -223,13 +223,13 @@ TEST(CommandLineParser, positional_regression_5074_equal_sign)
TEST
(
AutoBuffer
,
allocate_test
)
{
AutoBuffer
<
int
,
5
>
abuf
(
2
);
EXPECT_EQ
(
2
,
abuf
.
size
());
EXPECT_EQ
(
2
u
,
abuf
.
size
());
abuf
.
allocate
(
4
);
EXPECT_EQ
(
4
,
abuf
.
size
());
EXPECT_EQ
(
4
u
,
abuf
.
size
());
abuf
.
allocate
(
6
);
EXPECT_EQ
(
6
,
abuf
.
size
());
EXPECT_EQ
(
6
u
,
abuf
.
size
());
}
}
// namespace
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment