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

pull/343/head
Andrey Kamaev 12 years ago
parent 8521ac5d21
commit d83914d478
  1. 9
      modules/photo/test/test_denoising.cpp
  2. 2
      modules/photo/test/test_inpaint.cpp

@ -56,7 +56,7 @@ using namespace std;
#endif
TEST(Imgproc_DenoisingGrayscale, regression)
TEST(Photo_DenoisingGrayscale, regression)
{
string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/";
string original_path = folder + "lena_noised_gaussian_sigma=10.png";
@ -76,7 +76,7 @@ TEST(Imgproc_DenoisingGrayscale, regression)
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 original_path = folder + "lena_noised_gaussian_sigma=10.png";
@ -96,7 +96,7 @@ TEST(Imgproc_DenoisingColored, regression)
ASSERT_EQ(0, norm(result != expected));
}
TEST(Imgproc_DenoisingGrayscaleMulti, regression)
TEST(Photo_DenoisingGrayscaleMulti, regression)
{
const int imgs_count = 3;
string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/";
@ -121,7 +121,7 @@ TEST(Imgproc_DenoisingGrayscaleMulti, regression)
ASSERT_EQ(0, norm(result != expected));
}
TEST(Imgproc_DenoisingColoredMulti, regression)
TEST(Photo_DenoisingColoredMulti, regression)
{
const int imgs_count = 3;
string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/";
@ -145,4 +145,3 @@ TEST(Imgproc_DenoisingColoredMulti, regression)
ASSERT_EQ(0, norm(result != expected));
}

@ -115,4 +115,4 @@ void CV_InpaintTest::run( int )
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(); }

Loading…
Cancel
Save