summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dcp_time_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dcp_time_test.cc b/test/dcp_time_test.cc
index d6952f88..6d22466f 100644
--- a/test/dcp_time_test.cc
+++ b/test/dcp_time_test.cc
@@ -56,4 +56,7 @@ BOOST_AUTO_TEST_CASE (dcp_time)
a = libdcp::Time (24, 12, 6, 3);
b = libdcp::Time (16, 8, 4, 2);
BOOST_CHECK_CLOSE (a / b, 1.5, 1e-5);
+
+ BOOST_CHECK_EQUAL (libdcp::Time (4128391203LL).to_ticks(), 4128391203LL);
+ BOOST_CHECK_EQUAL (libdcp::Time (60000).to_ticks(), 60000);
}