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

removed unnecessary check (checked many times in other tests)

This commit is contained in:
Vadim Pisarevsky
2024-10-04 23:57:24 +03:00
parent 56673d969a
commit 254db60667
-1
View File
@@ -308,7 +308,6 @@ TEST_P(CountNonZero1D, /**/)
Mat mv;
Mat(v).convertTo(mv, depth);
EXPECT_EQ(mv.dims, 1);
EXPECT_EQ(mv.total(), M);
size_t esz = mv.elemSize();
// check countNonZero on a vector transformed to Mat inplace, e.g. on 1xM matrix
int nz0 = countNonZero(mv);