diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-20 16:55:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-22 10:33:45 +0200 |
| commit | c95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c (patch) | |
| tree | 82857f50135db65c8750e9e4492536d4639e0a91 /test/guess_crop_test.cc | |
| parent | e3dba6242aed7415eddbbfb1e5d56ce6680603c1 (diff) | |
Rename new_test_film2 -> new_test_film.
Diffstat (limited to 'test/guess_crop_test.cc')
| -rw-r--r-- | test/guess_crop_test.cc | 6 |
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)); } |
