2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-23 06:02:14 +00:00
Files
thread/test/test_xtime.cpp
William E. Kempf 4808ccb316 Refactoring tests
[SVN r13936]
2002-05-15 22:01:36 +00:00

11 lines
312 B
C++

#include <boost/thread/thread.hpp>
#include <boost/thread/xtime.hpp>
#include <boost/test/test_tools.hpp>
void test_xtime_get()
{
boost::xtime xt;
// If this fails we can't really run any tests, so we'll flag a critical error
BOOST_CRITICAL_TEST(boost::TIME_UTC == boost::xtime_get(&xt, boost::TIME_UTC));
}