From: Carl Hetherington Date: Wed, 1 Apr 2020 13:24:45 +0000 (+0000) Subject: New test. X-Git-Tag: v1.6.0~91 X-Git-Url: https://main.carlh.net/gitweb/?p=libsub.git;a=commitdiff_plain;h=1e8f0e6e3964225e09e7fcad78a92659ce719a27 New test. --- 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 > (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" + ); +}