diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-17 19:44:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-17 19:44:58 +0000 |
| commit | 369ba52fe8b3ddeda734692541471c402016a18d (patch) | |
| tree | f140d572d97f1bb27d0713160247457c767cc101 /test | |
| parent | 62ee85a258aa9329544d8542dfbcc40ce8177a7a (diff) | |
Use new Size struct.
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/tests.cc b/test/tests.cc index be960699..3fb56a28 100644 --- a/test/tests.cc +++ b/test/tests.cc @@ -75,8 +75,7 @@ BOOST_AUTO_TEST_CASE (dcp_test) &d.Progress, 24, 24, - 32, - 32 + libdcp::Size (32, 32) )); shared_ptr<libdcp::SoundAsset> ms (new libdcp::SoundAsset ( @@ -102,7 +101,7 @@ BOOST_AUTO_TEST_CASE (error_test) vector<string> p; p.push_back ("frobozz"); - BOOST_CHECK_THROW (new libdcp::MonoPictureAsset (p, "build/test/bar", "video.mxf", &d.Progress, 24, 24, 32, 32), libdcp::FileError); + BOOST_CHECK_THROW (new libdcp::MonoPictureAsset (p, "build/test/bar", "video.mxf", &d.Progress, 24, 24, libdcp::Size (32, 32)), libdcp::FileError); BOOST_CHECK_THROW (new libdcp::SoundAsset (p, "build/test/bar", "audio.mxf", &d.Progress, 24, 24, 0), libdcp::FileError); } |
