projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e62b2c
)
Fix test to reflect the fact that reel lengths are rounded to frame boundaries.
author
Carl Hetherington
<cth@carlh.net>
Mon, 26 Oct 2015 13:02:42 +0000
(13:02 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 26 Oct 2015 13:02:42 +0000
(13:02 +0000)
test/reels_test.cc
patch
|
blob
|
history
diff --git
a/test/reels_test.cc
b/test/reels_test.cc
index 3866c50bc5269f17dacf2609dc332a6d63b4a49a..a0ad05d5ea06a9cd12c950852644eb370764c79c 100644
(file)
--- a/
test/reels_test.cc
+++ b/
test/reels_test.cc
@@
-175,5
+175,5
@@
BOOST_AUTO_TEST_CASE (reels_test3)
BOOST_CHECK_EQUAL (i->to, DCPTime (96000 * 3));
++i;
BOOST_CHECK_EQUAL (i->from, DCPTime (96000 * 3));
- BOOST_CHECK_EQUAL (i->to, sub->full_length());
+ BOOST_CHECK_EQUAL (i->to, sub->full_length()
.round_up (film->video_frame_rate())
);
}