diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-02-17 23:41:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-02-17 23:41:04 +0000 |
| commit | f2416324fdaef8d75678da751446113fbe19de8a (patch) | |
| tree | f85b7c14a19b84b81dbbfc174a811342acda6097 /test/video_content_scale_test.cc | |
| parent | fc45861c622ed38f479265e63abc220444e54b61 (diff) | |
Apply the remainder of a 1.x patch; a test.
Diffstat (limited to 'test/video_content_scale_test.cc')
| -rw-r--r-- | test/video_content_scale_test.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/video_content_scale_test.cc b/test/video_content_scale_test.cc index 383d87ec5..a2fb7fd43 100644 --- a/test/video_content_scale_test.cc +++ b/test/video_content_scale_test.cc @@ -180,3 +180,18 @@ BOOST_AUTO_TEST_CASE (video_content_scale_test_to_ratio) dcp::Size (185, 100) ); } + +/* Test no scale */ +BOOST_AUTO_TEST_CASE (video_content_scale_no_scale) +{ + /* No scale where the content is bigger than even the film container */ + test ( + dcp::Size (1920, 1080), + dcp::Size (887, 371), + dcp::Size (2048, 858), + Crop (), + 0, + false, + dcp::Size (659, 371) + ); +} |
