提交 f15dc72b 编写于 作者: V Vikas Dhiman

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

上级 dbc9b4db
...@@ -896,7 +896,7 @@ bool CV_OperationsTest::TestMatxElementwiseDivison() ...@@ -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 */) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册