Skip to content

Commit

Permalink
[sigrokproject#71] Add TC to validate 2nd part of fix and confirm tha…
Browse files Browse the repository at this point in the history
…t the 2nd bug exists
  • Loading branch information
Giles314 committed Aug 5, 2024
1 parent 9af7bbb commit 0af8721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0af8721

Please sign in to comment.