mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
cv2cvtest part2
This commit is contained in:
@@ -73,7 +73,7 @@ TEST(Photo_DenoisingGrayscale, regression)
|
||||
|
||||
DUMP(result, expected_path + ".res.png");
|
||||
|
||||
ASSERT_EQ(0, norm(result != expected));
|
||||
ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2));
|
||||
}
|
||||
|
||||
TEST(Photo_DenoisingColored, regression)
|
||||
@@ -93,7 +93,7 @@ TEST(Photo_DenoisingColored, regression)
|
||||
|
||||
DUMP(result, expected_path + ".res.png");
|
||||
|
||||
ASSERT_EQ(0, norm(result != expected));
|
||||
ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2));
|
||||
}
|
||||
|
||||
TEST(Photo_DenoisingGrayscaleMulti, regression)
|
||||
@@ -118,7 +118,7 @@ TEST(Photo_DenoisingGrayscaleMulti, regression)
|
||||
|
||||
DUMP(result, expected_path + ".res.png");
|
||||
|
||||
ASSERT_EQ(0, norm(result != expected));
|
||||
ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2));
|
||||
}
|
||||
|
||||
TEST(Photo_DenoisingColoredMulti, regression)
|
||||
@@ -143,7 +143,7 @@ TEST(Photo_DenoisingColoredMulti, regression)
|
||||
|
||||
DUMP(result, expected_path + ".res.png");
|
||||
|
||||
ASSERT_EQ(0, norm(result != expected));
|
||||
ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2));
|
||||
}
|
||||
|
||||
TEST(Photo_White, issue_2646)
|
||||
|
||||
Reference in New Issue
Block a user