gapi(test): ban and get rid of countNonZero() checks

This commit is contained in:
Alexander Alekhin
2020-02-23 17:49:50 +00:00
committed by Alexander Alekhin
parent 102ef39a27
commit f2d3edec80
22 changed files with 200 additions and 263 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ TEST(GOpaque, TestOpaqueIn)
c.apply(cv::gin(fill), cv::gout(mat), cv::compile_args(cv::gapi::kernels<OCVFillMat>()));
auto diff = cv::Mat(sz, CV_MAKETYPE(depth, chan), cv::Scalar(fill)) - mat;
EXPECT_EQ(cv::countNonZero(diff), 0);
EXPECT_EQ(0, cvtest::norm(diff, NORM_INF));
}
TEST(GOpaque, TestOpaqueBetween)