From e93c51762b1cfb3a55aab9fae14770937eb152ff Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 27 Feb 2020 19:43:06 +0000 Subject: [PATCH] gapi(test): fix check --- modules/gapi/test/common/gapi_core_tests_inl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gapi/test/common/gapi_core_tests_inl.hpp b/modules/gapi/test/common/gapi_core_tests_inl.hpp index 311b76b9f7..20e3d3834b 100644 --- a/modules/gapi/test/common/gapi_core_tests_inl.hpp +++ b/modules/gapi/test/common/gapi_core_tests_inl.hpp @@ -160,8 +160,8 @@ TEST_P(MulDoubleTest, AccuracyTest) CV_MAT_DEPTH(out_mat_ocv.type()) != CV_64F) { // integral: allow 1% of differences, and no diffs by >1 unit + EXPECT_LE(cvtest::norm(out_mat_gapi, out_mat_ocv, NORM_INF), 1); EXPECT_LE(cvtest::norm(out_mat_gapi, out_mat_ocv, NORM_L1 | NORM_RELATIVE), 0.01); - EXPECT_LE(cvtest::norm(out_mat_gapi, out_mat_ocv, NORM_L1), 1); } else {