From f15dc72b894adef83ada865a8338d4a61ed7ba97 Mon Sep 17 00:00:00 2001 From: Vikas Dhiman Date: Wed, 26 Jun 2013 12:16:25 -0400 Subject: [PATCH] Removed misleading comment and added the divisibility test to ::run function. --- modules/core/test/test_operations.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/core/test/test_operations.cpp b/modules/core/test/test_operations.cpp index 84a2e573e7..1fbc4242fb 100644 --- a/modules/core/test/test_operations.cpp +++ b/modules/core/test/test_operations.cpp @@ -896,7 +896,7 @@ bool CV_OperationsTest::TestMatxElementwiseDivison() { try { - Matx22f mat(2, 4, 6, 8); // Identity matrix + Matx22f mat(2, 4, 6, 8); Matx22f mat2(2, 2, 2, 2); Matx22f res = mat / mat2; @@ -1132,6 +1132,9 @@ void CV_OperationsTest::run( int /* start_from */) if (!TestMatxMultiplication()) return; + if (!TestMatxElementwiseDivison()) + return; + if (!TestSubMatAccess()) return; -- GitLab