thrownewUnsupportedOperationException("Floating-point Mats must not be checked for exact match. Use assertMatEqual(Mat expected, Mat actual, double eps) instead.");
thrownewUnsupportedOperationException(
"Floating-point Mats must not be checked for exact match. Use assertMatEqual(Mat expected, Mat actual, double eps) instead.");
else
thrownewUnsupportedOperationException("Floating-point Mats must not be checked for exact match. Use assertMatNotEqual(Mat expected, Mat actual, double eps) instead.");
thrownewUnsupportedOperationException(
"Floating-point Mats must not be checked for exact match. Use assertMatNotEqual(Mat expected, Mat actual, double eps) instead.");
}
Matdiff=newMat();
...
...
@@ -218,20 +270,21 @@ public class OpenCVTestCase extends TestCase {
reshaped.release();
diff.release();
if(isEqualityMeasured)
if(isEqualityMeasured)
assertTrue("Mats are different in "+mistakes+" points",0==mistakes);