1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

imgproc(test): add checks for remove() call

This commit is contained in:
Alexander Alekhin
2017-08-16 13:53:12 +03:00
parent 999f41fb4f
commit 78a310630f
6 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ TEST(Imgcodecs_Image, read_write_bmp)
psnr = cvtest::PSNR(buf_loaded, image);
EXPECT_GT(psnr, thresDbell);
remove(dst_name.c_str());
EXPECT_EQ(0, remove(dst_name.c_str()));
}
}
@@ -95,7 +95,7 @@ TEST_P(Imgcodecs_Image, read_write)
psnr = cvtest::PSNR(buf_loaded, image);
EXPECT_GT(psnr, thresDbell);
remove(full_name.c_str());
EXPECT_EQ(0, remove(full_name.c_str()));
}
const string exts[] = {