diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-06 17:45:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-26 17:20:24 +0100 |
| commit | 63e3cd7c11e9783feccd8213e7f3525bdf1cfd3d (patch) | |
| tree | bffa338795fddfb5b67e524b4db1a6d5284a83dd /test | |
| parent | 8bfad2f1321042c00abbf7ef8d8486cb4f0af3f9 (diff) | |
Rename guess_crop -> guess_crop_by_brightness.
Diffstat (limited to 'test')
| -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 c58432382..b62042d1a 100644 --- a/test/guess_crop_test.cc +++ b/test/guess_crop_test.cc @@ -37,7 +37,7 @@ BOOST_AUTO_TEST_CASE (guess_crop_image_test1) auto content = content_factory(TestPaths::private_data() / "arrietty_724.tiff"); auto film = new_test_film("guess_crop_image_test1", content); - BOOST_CHECK (guess_crop(film, content[0], 0.1, {}) == Crop(0, 0, 11, 11)); + BOOST_CHECK(guess_crop_by_brightness(film, content[0], 0.1, {}) == Crop(0, 0, 11, 11)); } @@ -46,7 +46,7 @@ BOOST_AUTO_TEST_CASE (guess_crop_image_test2) auto content = content_factory(TestPaths::private_data() / "prophet_frame.tiff"); auto film = new_test_film("guess_crop_image_test2", content); - BOOST_CHECK(guess_crop(film, content[0], 0.1, {}) == Crop(0, 0, 22, 22)); + BOOST_CHECK(guess_crop_by_brightness(film, content[0], 0.1, {}) == Crop(0, 0, 22, 22)); } @@ -55,5 +55,5 @@ BOOST_AUTO_TEST_CASE (guess_crop_image_test3) auto content = content_factory(TestPaths::private_data() / "pillarbox.png"); auto film = new_test_film("guess_crop_image_test3", content); - BOOST_CHECK(guess_crop(film, content[0], 0.1, {}) == Crop(113, 262, 0, 0)); + BOOST_CHECK(guess_crop_by_brightness(film, content[0], 0.1, {}) == Crop(113, 262, 0, 0)); } |
