diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-25 13:29:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-26 23:08:04 +0100 |
| commit | d46747cc35b8eff53098b99c5a6f5b53d4ce2bf1 (patch) | |
| tree | eb5d334ebfba9554121a24b76c1c7a00e21c22c5 | |
| parent | de786c48ee406ab6d7403af4cd4b9e5055311f10 (diff) | |
Add another 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" + ); +} |
