diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-28 17:53:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-29 20:04:36 +0100 |
| commit | a0d1dd5d91c81ec9907cbc7b890905c463c18f62 (patch) | |
| tree | 3dc0b2e5b7e3a4e7da7d687c8713e0b461ce2aeb /test/dcpomatic_time_test.cc | |
| parent | 2da067ce01a04964dd5d739ea695504517877507 (diff) | |
Replace Time::frames with Time::frames_round and Time::frames_floor.
I believe both are necessary; doing floor instead of round caused #648.
Diffstat (limited to 'test/dcpomatic_time_test.cc')
| -rw-r--r-- | test/dcpomatic_time_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dcpomatic_time_test.cc b/test/dcpomatic_time_test.cc index 4462ae870..2b42d22b8 100644 --- 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); - 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; |
