X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_boost_time.cpp;h=8f7998945b385d75d6a066031a9553525db1fff6;hb=ec40d94aeb48a31ebe0ac8c9b9457f28a2d54fcc;hp=8fd0dea683aafa3dcc7d70f854618572fe46b77f;hpb=38898637302df34fefb4f6cc000efaf9de702d9e;p=metaproxy-moved-to-github.git diff --git a/src/test_boost_time.cpp b/src/test_boost_time.cpp index 8fd0dea..8f79989 100644 --- a/src/test_boost_time.cpp +++ b/src/test_boost_time.cpp @@ -1,5 +1,11 @@ +/* $Id: test_boost_time.cpp,v 1.5 2005-10-15 14:09:09 adam Exp $ + Copyright (c) 2005, Index Data. + +%LICENSE% + */ #include +#include "config.hpp" #include "boost/date_time/posix_time/posix_time.hpp" #define BOOST_AUTO_TEST_MAIN @@ -32,6 +38,7 @@ BOOST_AUTO_TEST_CASE( testboosttime1 ) //std::cout << duration << std::endl; BOOST_CHECK (duration.total_seconds() == 1); + BOOST_CHECK (duration.fractional_seconds() > 0); } catch (std::exception &e) { @@ -47,6 +54,7 @@ BOOST_AUTO_TEST_CASE( testboosttime1 ) * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil + * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */