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:
committed by
Alexander Alekhin
parent
102ef39a27
commit
f2d3edec80
@@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user