From 98408257430e4f7cda150d8398be8b7024c11745 Mon Sep 17 00:00:00 2001 From: Rostislav Vasilikhin Date: Mon, 5 Sep 2016 21:55:17 +0300 Subject: [PATCH] added test checking http://code.opencv.org/issues/4050 --- modules/core/test/test_mat.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/core/test/test_mat.cpp b/modules/core/test/test_mat.cpp index 0aef147b60..d5b7ab97e1 100644 --- a/modules/core/test/test_mat.cpp +++ b/modules/core/test/test_mat.cpp @@ -919,6 +919,12 @@ TEST(Core_Mat, copyNx1ToVector) ASSERT_PRED_FORMAT2(cvtest::MatComparator(0, 0), ref_dst16, cv::Mat_(dst16)); } +TEST(Core_InputArray, empty) +{ + vector > data; + ASSERT_TRUE(_InputArray(data).empty()); +} + TEST(Core_SVD, orthogonality) { for (int i = 0; i < 2; i++)