diff --git a/test/util.cpp b/test/util.cpp index 163bc7ac..a4ced680 100644 --- a/test/util.cpp +++ b/test/util.cpp @@ -226,6 +226,7 @@ BOOST_AUTO_TEST_CASE(format_time_minutes_test) BOOST_CHECK_EQUAL(fmt(ts("10641906.007008009"), 1), "+123:04:05:06.0"); BOOST_CHECK_EQUAL(fmt(ts("10641906.007008009"), 2), "+123:04:05:06.01"); BOOST_CHECK_EQUAL(fmt(ts("10641906.007008009"), 3), "+123:04:05:06.007"); + BOOST_CHECK_EQUAL(fmt(ts("10641906.999900000"), 3), "+123:04:05:07.000"); BOOST_CHECK_EQUAL(fmt(ts("10641906.007008009"), 4), "+123:04:05:06.007 0"); BOOST_CHECK_EQUAL(fmt(ts("10641906.007008009"), 5), "+123:04:05:06.007 01"); BOOST_CHECK_EQUAL(fmt(ts("10641906.007008009"), 6), "+123:04:05:06.007 008");