Add test case for cv::Mat::forEach
authorJulian Exner <jexner@techfak.uni-bielefeld.de>
Fri, 24 Mar 2017 13:54:10 +0000 (14:54 +0100)
committerJulian Exner <jexner@techfak.uni-bielefeld.de>
Fri, 24 Mar 2017 14:34:58 +0000 (15:34 +0100)
commit46af07575e4c7f9bf9597beaacff414a9fe244db
tree9f8565b99471f437e94cfb79d92bbd07158a2b14
parentb45e784bebe318826bb48a41023db3fe1660d91e
Add test case for cv::Mat::forEach

This test case uses a matrix with more dimensions than columns. Without
the fix in
https://github.com/opencv/opencv/pull/8448/commits/b45e784bebe318826bb48a41023db3fe1660d91e
this crashes with a segmentation fault, hangs or simply fails with wrong
values.
modules/core/test/test_mat.cpp