Removed misleading comment and added the divisibility test to ::run function.
This commit is contained in:
parent
dbc9b4db0c
commit
f15dc72b89
@ -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…
Reference in New Issue
Block a user