diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-25 13:29:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-25 13:29:20 +0100 |
| commit | 2731932b5f4bc7049e18d0146ebcea6287ea88c4 (patch) | |
| tree | 6d0ee6ec59bedbcbc6214de3d70f9d8bbf930ad6 /test | |
| parent | c18e3a2e54f992245feeac384a41792b82f698aa (diff) | |
Add another test.v1.4.20
Diffstat (limited to 'test')
| -rw-r--r-- | test/dcp_to_stl_binary_test.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/dcp_to_stl_binary_test.cc b/test/dcp_to_stl_binary_test.cc index a461810..ade17f8 100644 --- a/test/dcp_to_stl_binary_test.cc +++ b/test/dcp_to_stl_binary_test.cc @@ -201,3 +201,26 @@ BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test7) "build/test/test3.stl" ); } + +BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test8) +{ + boost::filesystem::path p = private_test / "91a30f25-b415-4ffe-9623-bdae43a381d3_sub.xml"; + sub::write_stl_binary ( + sub::collect<list<sub::Subtitle> > (sub::DCPReader(p).subtitles()), + 24, + sub::LANGUAGE_GERMAN, + "", "", + "", "", + "", "", + "300514", "300514", 0, + "GBR", + "", + "", "", + "build/test/test3.stl" + ); + + check_file ( + private_test / "91a30f25-b415-4ffe-9623-bdae43a381d3_sub.stl", + "build/test/91a30f25-b415-4ffe-9623-bdae43a381d3_sub.stl" + ); +} |
