Rename from yp2 to metaproxy. The namespace for all definitions
[metaproxy-moved-to-github.git] / src / test_boost_time.cpp
index 3c4e4f4..af1db2a 100644 (file)
@@ -1,3 +1,8 @@
+/* $Id: test_boost_time.cpp,v 1.7 2006-03-16 10:40:59 adam Exp $
+   Copyright (c) 2005-2006, Index Data.
+
+%LICENSE%
+ */
 #include <iostream>
 
 #include "config.hpp"
@@ -10,7 +15,7 @@ using namespace boost::unit_test;
 
 
 
-BOOST_AUTO_TEST_CASE( testboosttime1 ) 
+BOOST_AUTO_UNIT_TEST( testboosttime1 ) 
 {
 
     // test session 
@@ -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
  */