Removed misleading comment and added the divisibility test to ::run function.
authorVikas Dhiman <vikasdhi@buffalo.edu>
Wed, 26 Jun 2013 16:16:25 +0000 (12:16 -0400)
committerVikas Dhiman <vikasdhi@buffalo.edu>
Wed, 26 Jun 2013 16:16:25 +0000 (12:16 -0400)
modules/core/test/test_operations.cpp

index 84a2e57..1fbc424 100644 (file)
@@ -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;