X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_boost_time.cpp;h=8f7998945b385d75d6a066031a9553525db1fff6;hb=f82b19f2b93707657fee804bd1242f2548d51ada;hp=3c4e4f4256b421b3338303544624a38162aeb178;hpb=cba94f69f50a7789d498212dd59938087e8cbf9f;p=metaproxy-moved-to-github.git diff --git a/src/test_boost_time.cpp b/src/test_boost_time.cpp index 3c4e4f4..8f79989 100644 --- a/src/test_boost_time.cpp +++ b/src/test_boost_time.cpp @@ -1,3 +1,8 @@ +/* $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" @@ -33,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) { @@ -48,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 */