1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

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
@@ -91,7 +91,7 @@ TEST(GAPI, EmptyOutMat)
EXPECT_EQ(640, out.cols);
EXPECT_EQ(480, out.rows);
EXPECT_EQ(CV_8U, out.type());
EXPECT_EQ(0, cv::countNonZero(out - (in_mat+in_mat)));
EXPECT_EQ(0, cvtest::norm(out, (in_mat+in_mat), NORM_INF));
}
}