Commit 036fc953 authored by Fangjun Kuang's avatar Fangjun Kuang

Fix the test case for hdf.

MatSize::operator()() supports only 2-d matrices.
parent 344f8421
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment