mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-20 04:25:42 +08:00
Fix the test case for hdf.
MatSize::operator()() supports only 2-d matrices.
This commit is contained in:
@@ -350,7 +350,7 @@ TEST_F(HDF5_Test, test_attribute_InutArray_OutputArray_2d)
|
||||
double diff = norm(attr_value - expected_attr_value);
|
||||
EXPECT_NEAR(diff, 0, 1e-6);
|
||||
|
||||
EXPECT_EQ(attr_value.size(), expected_attr_value.size());
|
||||
EXPECT_EQ(attr_value.size, expected_attr_value.size);
|
||||
EXPECT_EQ(attr_value.type(), expected_attr_value.type());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user