Commit d83914d4 authored by Andrey Kamaev's avatar Andrey Kamaev

Change Imgproc_ prefix to Photo_ in all accuracy tests of photo module

parent 8521ac5d
...@@ -56,7 +56,7 @@ using namespace std; ...@@ -56,7 +56,7 @@ using namespace std;
#endif #endif
TEST(Imgproc_DenoisingGrayscale, regression) TEST(Photo_DenoisingGrayscale, regression)
{ {
string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/";
string original_path = folder + "lena_noised_gaussian_sigma=10.png"; string original_path = folder + "lena_noised_gaussian_sigma=10.png";
...@@ -76,7 +76,7 @@ TEST(Imgproc_DenoisingGrayscale, regression) ...@@ -76,7 +76,7 @@ TEST(Imgproc_DenoisingGrayscale, regression)
ASSERT_EQ(0, norm(result != expected)); ASSERT_EQ(0, norm(result != expected));
} }
TEST(Imgproc_DenoisingColored, regression) TEST(Photo_DenoisingColored, regression)
{ {
string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/";
string original_path = folder + "lena_noised_gaussian_sigma=10.png"; string original_path = folder + "lena_noised_gaussian_sigma=10.png";
...@@ -96,7 +96,7 @@ TEST(Imgproc_DenoisingColored, regression) ...@@ -96,7 +96,7 @@ TEST(Imgproc_DenoisingColored, regression)
ASSERT_EQ(0, norm(result != expected)); ASSERT_EQ(0, norm(result != expected));
} }
TEST(Imgproc_DenoisingGrayscaleMulti, regression) TEST(Photo_DenoisingGrayscaleMulti, regression)
{ {
const int imgs_count = 3; const int imgs_count = 3;
string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/";
...@@ -121,7 +121,7 @@ TEST(Imgproc_DenoisingGrayscaleMulti, regression) ...@@ -121,7 +121,7 @@ TEST(Imgproc_DenoisingGrayscaleMulti, regression)
ASSERT_EQ(0, norm(result != expected)); ASSERT_EQ(0, norm(result != expected));
} }
TEST(Imgproc_DenoisingColoredMulti, regression) TEST(Photo_DenoisingColoredMulti, regression)
{ {
const int imgs_count = 3; const int imgs_count = 3;
string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/";
...@@ -145,4 +145,3 @@ TEST(Imgproc_DenoisingColoredMulti, regression) ...@@ -145,4 +145,3 @@ TEST(Imgproc_DenoisingColoredMulti, regression)
ASSERT_EQ(0, norm(result != expected)); ASSERT_EQ(0, norm(result != expected));
} }
...@@ -115,4 +115,4 @@ void CV_InpaintTest::run( int ) ...@@ -115,4 +115,4 @@ void CV_InpaintTest::run( int )
ts->set_failed_test_info(cvtest::TS::OK); ts->set_failed_test_info(cvtest::TS::OK);
} }
TEST(Imgproc_Inpaint, regression) { CV_InpaintTest test; test.safe_run(); } TEST(Photo_Inpaint, regression) { CV_InpaintTest test; test.safe_run(); }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment