Revert "Fix test to take into account changes to rounding."
authorCarl Hetherington <cth@carlh.net>
Wed, 26 Aug 2015 00:35:13 +0000 (01:35 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 26 Aug 2015 00:35:13 +0000 (01:35 +0100)
This reverts commit 32823e7cc89965bf706fecab13be444e5a2aaa09.

test/time_calculation_test.cc

index b8475527e688ab22a4502f79c40bd4392f82d189..9f91be584b88c2e4b2ff06194329e58514f84a01 100644 (file)
@@ -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)), 169);
+       BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (9.75)), 168);
 
        /* Position 3s, 1.6s trim, content rate 24, DCP rate 25.  Here the trim is in ContentTime,
           so it's 1.6s at 24fps.