[opencv] 59/71: added test checking http://code.opencv.org/issues/4050

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Mon Oct 17 20:16:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 2.4.13.1
in repository opencv.

commit 98408257430e4f7cda150d8398be8b7024c11745
Author: Rostislav Vasilikhin <rostislav.vasilikhin at intel.com>
Date:   Mon Sep 5 21:55:17 2016 +0300

    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 0aef147..d5b7ab9 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_<ushort>(dst16));
 }
 
+TEST(Core_InputArray, empty)
+{
+    vector<vector<Point> > data;
+    ASSERT_TRUE(_InputArray(data).empty());
+}
+
 TEST(Core_SVD, orthogonality)
 {
     for (int i = 0; i < 2; i++)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list