summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-08-25 23:26:44 +0100
committerCarl Hetherington <cth@carlh.net>2015-08-25 23:26:44 +0100
commit32823e7cc89965bf706fecab13be444e5a2aaa09 (patch)
treef74597069643697cfcc669ad6520081b989e4911 /test
parent1dd8d0f8eb6bac43a9c3728154bdefdc27251fad (diff)
Fix test to take into account changes to rounding.
Diffstat (limited to 'test')
-rw-r--r--test/time_calculation_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc
index 9f91be584..b8475527e 100644
--- a/test/time_calculation_test.cc
+++ b/test/time_calculation_test.cc
@@ -224,7 +224,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test1)
BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (0.60)), 0);
BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (3.00)), 0);
BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (4.60)), 40);
- BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (9.75)), 168);
+ BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (9.75)), 169);
/* Position 3s, 1.6s trim, content rate 24, DCP rate 25. Here the trim is in ContentTime,
so it's 1.6s at 24fps.