From 32823e7cc89965bf706fecab13be444e5a2aaa09 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 25 Aug 2015 23:26:44 +0100 Subject: Fix test to take into account changes to rounding. --- test/time_calculation_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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. -- cgit v1.2.3