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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user