From 87f6e500e160f736b7bb676134971e3ccad5c6ea Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 12 Oct 2010 12:33:16 +0000 Subject: [PATCH] united cv::Mat and cv::MatND --- tests/cxcore/src/matrix_operations.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/cxcore/src/matrix_operations.cpp b/tests/cxcore/src/matrix_operations.cpp index de937f3..49327c3 100644 --- a/tests/cxcore/src/matrix_operations.cpp +++ b/tests/cxcore/src/matrix_operations.cpp @@ -65,7 +65,6 @@ protected: bool checkMatSetError(const Mat& m1, const Mat& m2); - bool checkMatSetError(const MatND& m1, const MatND& m2); }; CV_MatrOpTest::CV_MatrOpTest(): CvTest( "matrix-operations", "?" ) @@ -83,15 +82,6 @@ bool CV_MatrOpTest::checkMatSetError(const Mat& m1, const Mat& m2) return false; } -bool CV_MatrOpTest::checkMatSetError(const MatND& m1, const MatND& m2) -{ - if (norm(m1, m2, NORM_INF) == 0) - return true; - - ts->set_failed_test_info(CvTS::FAIL_MISMATCH); - return false; -} - bool CV_MatrOpTest::TestMat() { Mat one_3x1(3, 1, CV_32F, Scalar(1.0)); -- 2.7.4