diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-16 20:50:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-16 20:50:23 +0100 |
| commit | 504367ecc42018d6c2c2542172900701e34090bf (patch) | |
| tree | fbbd1a1b75f56032f2d17c4bfa0574f0f3ab72df /test/create_cli_test.cc | |
| parent | 81a9a5b520ae6d1b89e6a2eb052f023ba329bcc4 (diff) | |
Add --twok option to dcpomatic2_create.
Diffstat (limited to 'test/create_cli_test.cc')
| -rw-r--r-- | test/create_cli_test.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/create_cli_test.cc b/test/create_cli_test.cc index aae243d99..b067c9b16 100644 --- a/test/create_cli_test.cc +++ b/test/create_cli_test.cc @@ -142,6 +142,12 @@ BOOST_AUTO_TEST_CASE (create_cli_test) BOOST_CHECK_EQUAL (cc.content[1].frame_type, VideoFrameType::THREE_D_RIGHT); BOOST_CHECK_EQUAL (cc.fourk, false); + cc = run ("dcpomatic2_create --twok foo.mp4"); + BOOST_REQUIRE_EQUAL (cc.content.size(), 1U); + BOOST_CHECK_EQUAL (cc.content[0].path, "foo.mp4"); + BOOST_CHECK_EQUAL (cc.twok, true); + BOOST_CHECK (!cc.error); + cc = run ("dcpomatic2_create --fourk foo.mp4"); BOOST_REQUIRE_EQUAL (cc.content.size(), 1U); BOOST_CHECK_EQUAL (cc.content[0].path, "foo.mp4"); |
