diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-08 00:08:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-08 00:08:33 +0100 |
| commit | 7c798f9e215282afb078da53b1d41d4c99e11f5d (patch) | |
| tree | f35881e65bf797f0626eae799774149c72023de0 /test | |
| parent | 87a3395fb8c546f7b71f36f5b16739486699493e (diff) | |
Split Format into Fixed and Variable so that sources can be unstretched.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.cc b/test/test.cc index 99781d1a2..ebee50ac0 100644 --- a/test/test.cc +++ b/test/test.cc @@ -104,11 +104,11 @@ BOOST_AUTO_TEST_CASE (format_test) Format const * f = Format::from_nickname ("Flat"); BOOST_CHECK (f); - BOOST_CHECK_EQUAL (f->ratio_as_integer(), 185); + BOOST_CHECK_EQUAL (f->ratio_as_integer(0), 185); f = Format::from_nickname ("Scope"); BOOST_CHECK (f); - BOOST_CHECK_EQUAL (f->ratio_as_integer(), 239); + BOOST_CHECK_EQUAL (f->ratio_as_integer(0), 239); } BOOST_AUTO_TEST_CASE (util_test) @@ -328,7 +328,7 @@ BOOST_AUTO_TEST_CASE (make_dcp_test) film.set_name ("test_film"); film.set_content ("../../../test/test.mp4"); film.examine_content (); - film.set_format (Format::from_ratio (185)); + film.set_format (Format::from_nickname ("Flat")); film.set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); film.make_dcp (true); @@ -351,7 +351,7 @@ BOOST_AUTO_TEST_CASE (make_dcp_with_range_test) film.set_name ("test_film"); film.set_content ("../../../test/test.mp4"); film.examine_content (); - film.set_format (Format::from_ratio (185)); + film.set_format (Format::from_nickname ("Flat")); film.set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); film.set_dcp_frames (42); film.make_dcp (true); |
