diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-01 13:24:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-01 13:24:45 +0000 |
| commit | a68af77f0400819492706a5047acb8660d40bc53 (patch) | |
| tree | ff0318231b6e9b69ef0c1db8848413f1a16672fc /test | |
| parent | 7768ed0a0337b6634f6cc3c51f1eaf20c8715e30 (diff) | |
New test.v1.4.22
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 58e024b..6d6fc67 100644 --- a/test/dcp_to_stl_binary_test.cc +++ b/test/dcp_to_stl_binary_test.cc @@ -224,3 +224,26 @@ BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test8) "build/test/91a30f25-b415-4ffe-9623-bdae43a381d3_sub.stl" ); } + +BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test9) +{ + boost::filesystem::path p = private_test / "8b95f204-f2a6-4586-8e67-2dc671a78e72_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/8b95f204-f2a6-4586-8e67-2dc671a78e72_sub.stl" + ); + + check_file ( + private_test / "8b95f204-f2a6-4586-8e67-2dc671a78e72_sub.stl", + "build/test/8b95f204-f2a6-4586-8e67-2dc671a78e72_sub.stl" + ); +} |
