Merge pull request #18688 from rgarnov:rg/add_gmatdesc_s11n_nd_test

pull/18818/head
Alexander Alekhin 4 years ago
commit e4a9ad1730
  1. 6
      modules/gapi/test/s11n/gapi_s11n_tests.cpp

@ -362,6 +362,12 @@ TEST_F(S11N_Basic, Test_MatDesc) {
EXPECT_EQ(v, get<cv::GMatDesc>());
}
TEST_F(S11N_Basic, Test_MatDescND) {
cv::GMatDesc v = { CV_8U, {1,1,224,224} };
put(v);
EXPECT_EQ(v, get<cv::GMatDesc>());
}
TEST_F(S11N_Basic, Test_MetaArg_MatDesc) {
cv::GMatDesc desc = { CV_8U, 1,{ 320,240 } };
auto v = cv::GMetaArg{ desc };

Loading…
Cancel
Save