Removed misleading comment and added the divisibility test to ::run function.

pull/1011/head
Vikas Dhiman 12 years ago
parent dbc9b4db0c
commit f15dc72b89
  1. 5
      modules/core/test/test_operations.cpp

@ -896,7 +896,7 @@ bool CV_OperationsTest::TestMatxElementwiseDivison()
{ {
try try
{ {
Matx22f mat(2, 4, 6, 8); // Identity matrix Matx22f mat(2, 4, 6, 8);
Matx22f mat2(2, 2, 2, 2); Matx22f mat2(2, 2, 2, 2);
Matx22f res = mat / mat2; Matx22f res = mat / mat2;
@ -1132,6 +1132,9 @@ void CV_OperationsTest::run( int /* start_from */)
if (!TestMatxMultiplication()) if (!TestMatxMultiplication())
return; return;
if (!TestMatxElementwiseDivison())
return;
if (!TestSubMatAccess()) if (!TestSubMatAccess())
return; return;

Loading…
Cancel
Save