summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tests.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tests.cc b/test/tests.cc
index b8d9ef97..cb180ec0 100644
--- a/test/tests.cc
+++ b/test/tests.cc
@@ -124,6 +124,9 @@ BOOST_AUTO_TEST_CASE (subtitles)
BOOST_CHECK_EQUAL ((*i)->texts().size(), 1);
BOOST_CHECK_EQUAL ((*i)->texts().front()->v_position(), 15);
BOOST_CHECK_EQUAL ((*i)->texts().front()->text(), "And these are Roy Hattersley's jeans");
+
+ BOOST_CHECK_EQUAL (subs.subtitles_at (libdcp::Time (0, 0, 14, 042)).size(), 1);
+ BOOST_CHECK_EQUAL (subs.subtitles_at (libdcp::Time (0, 0, 14, 042)).front()->text(), "And these are Roy Hattersley's jeans");
}