X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fcreate_cli_test.cc;h=523fd75e667ca9cd09f0334ae5957510bd68d7f3;hb=72218f61297458b142e5a2397b01e482d2097270;hp=acc3f64b0eb6eb31de56de6c40ff632578b395ea;hpb=f7610c3c202df736c518a826bef21da41df38aa4;p=dcpomatic.git diff --git a/test/create_cli_test.cc b/test/create_cli_test.cc index acc3f64b0..523fd75e6 100644 --- a/test/create_cli_test.cc +++ b/test/create_cli_test.cc @@ -144,6 +144,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");