projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47963f0
)
Weaken acceptance criteria in phase test
author
Andrey Kamaev
<andrey.kamaev@itseez.com>
Thu, 10 Jan 2013 13:12:14 +0000
(17:12 +0400)
committer
Andrey Kamaev
<andrey.kamaev@itseez.com>
Thu, 10 Jan 2013 13:12:14 +0000
(17:12 +0400)
modules/core/test/test_math.cpp
patch
|
blob
|
history
diff --git
a/modules/core/test/test_math.cpp
b/modules/core/test/test_math.cpp
index
0558ab0
..
21c8cb4
100644
(file)
--- a/
modules/core/test/test_math.cpp
+++ b/
modules/core/test/test_math.cpp
@@
-2430,8
+2430,8
@@
protected:
}
Mat convertedRes = resInRad * 180. / CV_PI;
- double normDiff = norm(convertedRes - resInDeg);
- if(normDiff > FLT_EPSILON)
+ double normDiff = norm(convertedRes - resInDeg
, NORM_INF
);
+ if(normDiff > FLT_EPSILON
* 180.
)
{
ts->printf(cvtest::TS::LOG, "There are incorrect result angles (in radians)\n");
ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT);