diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2022-11-10 16:28:08 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2022-11-13 16:34:58 +0100 |
commit | fee7808210fbf2ca1934d9d9eec948ab19cb5762 (patch) | |
tree | b78d5301da6a6cddeb1ba54f3108f74fd92ace81 | |
parent | bcfdd3e0e927fc8b021f98ff3e22d96cbd5de94d (diff) | |
download | ccache-fee7808210fbf2ca1934d9d9eec948ab19cb5762.tar.gz |
test: Test TimePoint::nsec_decimal_part
-rw-r--r-- | unittest/test_util_TimePoint.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/test_util_TimePoint.cpp b/unittest/test_util_TimePoint.cpp index 33f1bded..a86ba9b5 100644 --- a/unittest/test_util_TimePoint.cpp +++ b/unittest/test_util_TimePoint.cpp @@ -30,6 +30,7 @@ TEST_CASE("Basics") CHECK(t0.sec() == 4711); CHECK(t0.nsec() == 4711000002042); + CHECK(t0.nsec_decimal_part() == 2042); } TEST_CASE("Conversions") |