From: Vadim Pisarevsky Date: Fri, 10 Jun 2011 12:21:26 +0000 (+0000) Subject: reverted broken opencv_test_core launcher X-Git-Tag: accepted/2.0/20130307.220821~2829 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ca3bd502cdcfdd0eea11de8d91c8c9261c01740;p=profile%2Fivi%2Fopencv.git reverted broken opencv_test_core launcher --- diff --git a/modules/core/test/test_main.cpp b/modules/core/test/test_main.cpp index 2d390f5..6b24993 100644 --- a/modules/core/test/test_main.cpp +++ b/modules/core/test/test_main.cpp @@ -1,26 +1,3 @@ #include "test_precomp.hpp" -//CV_TEST_MAIN("cv") - -#include -#include - -using namespace cv; -using namespace std; - -int main(int,char**) -{ - /*cv::Mat img3x3(3, 3, CV_8UC1); - cv::Mat img2x2 = img3x3(cv::Rect(0, 0, 2, 2)); - - for(cv::MatIterator_ it = img3x3.begin(); it != img3x3.end(); ++it) - *it = 1; - - int sum = 0; - for(cv::MatConstIterator_ it = img2x2.begin(); it != img2x2.end(); ++it) - sum += *it; - std::cout << "sum = " << sum << " (should be 4)\n";*/ - FileStorage fs("empty.yml", CV_STORAGE_READ); - cout << fs["a"].type() << endl; - return 0; -} +CV_TEST_MAIN("cv")