projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version
[dcpomatic.git]
/
test
/
dcpomatic_time_test.cc
diff --git
a/test/dcpomatic_time_test.cc
b/test/dcpomatic_time_test.cc
index 4462ae870f59ce2dfa1738e0fd099abbda379e3b..2b42d22b880788907e276f33a1329c4cb5c1f13d 100644
(file)
--- a/
test/dcpomatic_time_test.cc
+++ b/
test/dcpomatic_time_test.cc
@@
-28,8
+28,7
@@
BOOST_AUTO_TEST_CASE (dcpomatic_time_test)
for (int64_t i = 0; i < 62000; i += 2000) {
DCPTime d (i);
ContentTime c (d, frc);
for (int64_t i = 0; i < 62000; i += 2000) {
DCPTime d (i);
ContentTime c (d, frc);
- std::cout << i << " " << d << " " << c << " " << c.frames (24.0) << " " << j << "\n";
- BOOST_CHECK_EQUAL (c.frames (24.0), j);
+ BOOST_CHECK_EQUAL (c.frames_floor (24.0), j);
++k;
if (k == 2) {
++j;
++k;
if (k == 2) {
++j;