summaryrefslogtreecommitdiff
path: root/test/guess_crop_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/guess_crop_test.cc')
-rw-r--r--test/guess_crop_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/guess_crop_test.cc b/test/guess_crop_test.cc
index ccced0b3e..c58432382 100644
--- a/test/guess_crop_test.cc
+++ b/test/guess_crop_test.cc
@@ -35,7 +35,7 @@ using namespace dcpomatic;
BOOST_AUTO_TEST_CASE (guess_crop_image_test1)
{
auto content = content_factory(TestPaths::private_data() / "arrietty_724.tiff");
- auto film = new_test_film2 ("guess_crop_image_test1", content);
+ auto film = new_test_film("guess_crop_image_test1", content);
BOOST_CHECK (guess_crop(film, content[0], 0.1, {}) == Crop(0, 0, 11, 11));
}
@@ -44,7 +44,7 @@ BOOST_AUTO_TEST_CASE (guess_crop_image_test1)
BOOST_AUTO_TEST_CASE (guess_crop_image_test2)
{
auto content = content_factory(TestPaths::private_data() / "prophet_frame.tiff");
- auto film = new_test_film2 ("guess_crop_image_test2", content);
+ auto film = new_test_film("guess_crop_image_test2", content);
BOOST_CHECK(guess_crop(film, content[0], 0.1, {}) == Crop(0, 0, 22, 22));
}
@@ -53,7 +53,7 @@ BOOST_AUTO_TEST_CASE (guess_crop_image_test2)
BOOST_AUTO_TEST_CASE (guess_crop_image_test3)
{
auto content = content_factory(TestPaths::private_data() / "pillarbox.png");
- auto film = new_test_film2 ("guess_crop_image_test3", content);
+ auto film = new_test_film("guess_crop_image_test3", content);
BOOST_CHECK(guess_crop(film, content[0], 0.1, {}) == Crop(113, 262, 0, 0));
}