xrpld
Loading...
Searching...
No Matches
tests/libxrpl/beast/basic_seconds_clock.cpp
1#include <xrpl/beast/clock/basic_seconds_clock.h>
2
3#include <gtest/gtest.h>
4
5namespace beast {
6
7// The clock keeps a lazily started background thread; this only asserts that
8// asking it for the time does not throw or crash.
10{
11 EXPECT_NO_THROW({ BasicSecondsClock::now(); });
12}
13
14} // namespace beast
A clock whose minimum resolution is one second.
TEST(BasicSecondsClock, now)