diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-18 08:18:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-18 08:18:40 +0100 |
| commit | 56782052e43a1e010f7f07cbc0dbaed5b6cb50a3 (patch) | |
| tree | 8f8396e2ae07b3ab6b5cfeeb85d7d9d35e404c38 /test | |
| parent | 29a7edbc3d4a92bd1bf66948d3553d4b88f2d291 (diff) | |
Separate time -> string functions out.
Diffstat (limited to 'test')
| -rw-r--r-- | test/utc_offset_to_string_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/utc_offset_to_string_test.cc b/test/utc_offset_to_string_test.cc index 6ea597f0..ad1d1249 100644 --- a/test/utc_offset_to_string_test.cc +++ b/test/utc_offset_to_string_test.cc @@ -22,9 +22,9 @@ /** Test XMLMetadata::utc_offset_to_string */ BOOST_AUTO_TEST_CASE (utc_offset_to_string_test) { - BOOST_CHECK_EQUAL (libdcp::XMLMetadata::utc_offset_to_string (30), "+00:30"); - BOOST_CHECK_EQUAL (libdcp::XMLMetadata::utc_offset_to_string (60), "+01:00"); - BOOST_CHECK_EQUAL (libdcp::XMLMetadata::utc_offset_to_string (61), "+01:01"); - BOOST_CHECK_EQUAL (libdcp::XMLMetadata::utc_offset_to_string (7 * 60), "+07:00"); - BOOST_CHECK_EQUAL (libdcp::XMLMetadata::utc_offset_to_string (-11 * 60), "-11:00"); + BOOST_CHECK_EQUAL (libdcp::utc_offset_to_string (30), "+00:30"); + BOOST_CHECK_EQUAL (libdcp::utc_offset_to_string (60), "+01:00"); + BOOST_CHECK_EQUAL (libdcp::utc_offset_to_string (61), "+01:01"); + BOOST_CHECK_EQUAL (libdcp::utc_offset_to_string (7 * 60), "+07:00"); + BOOST_CHECK_EQUAL (libdcp::utc_offset_to_string (-11 * 60), "-11:00"); } |
