refactored div & pow funcs; added tests for special cases in pow() function.
fixed http://code.opencv.org/issues/3935 possibly fixed http://code.opencv.org/issues/3594
This commit is contained in:
@@ -1210,6 +1210,13 @@ TEST(Core_Mat, copyNx1ToVector)
|
||||
ASSERT_PRED_FORMAT2(cvtest::MatComparator(0, 0), ref_dst16, cv::Mat_<ushort>(dst16));
|
||||
}
|
||||
|
||||
TEST(Core_Matx, fromMat_)
|
||||
{
|
||||
Mat_<double> a = (Mat_<double>(2,2) << 10, 11, 12, 13);
|
||||
Matx22d b(a);
|
||||
ASSERT_EQ( norm(a, b, NORM_INF), 0.);
|
||||
}
|
||||
|
||||
TEST(Core_SVD, orthogonality)
|
||||
{
|
||||
for( int i = 0; i < 2; i++ )
|
||||
|
Reference in New Issue
Block a user