Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58411 - sandbox/chrono/libs/chrono/test
From: vicente.botet_at_[hidden]
Date: 2009-12-16 03:31:13


Author: viboes
Date: 2009-12-16 03:31:13 EST (Wed, 16 Dec 2009)
New Revision: 58411
URL: http://svn.boost.org/trac/boost/changeset/58411

Log:
Boost.Chrono: Version 0.2.7, Bug fixes
* Add test to check, min/max macros on windows

Added:
   sandbox/chrono/libs/chrono/test/test_minmax.cpp (contents, props changed)
Text files modified:
   sandbox/chrono/libs/chrono/test/Jamfile.v2 | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: sandbox/chrono/libs/chrono/test/Jamfile.v2
==============================================================================
--- sandbox/chrono/libs/chrono/test/Jamfile.v2 (original)
+++ sandbox/chrono/libs/chrono/test/Jamfile.v2 2009-12-16 03:31:13 EST (Wed, 16 Dec 2009)
@@ -85,4 +85,5 @@
         [ link ../example/timex.cpp : <library>/boost/system//boost_system : timex_dll ]
         [ run run_timer_test.cpp : : : <link>static ]
         [ run run_timer_test.cpp : : : <library>/boost/system//boost_system : run_timer_test_dll ]
+ [ run test_minmax.cpp : : : <library>/boost/system//boost_system : test_min_max_dll ]
         ;

Added: sandbox/chrono/libs/chrono/test/test_minmax.cpp
==============================================================================
--- (empty file)
+++ sandbox/chrono/libs/chrono/test/test_minmax.cpp 2009-12-16 03:31:13 EST (Wed, 16 Dec 2009)
@@ -0,0 +1,19 @@
+// test_duration.cpp ----------------------------------------------------------//
+
+// Copyright 2009 Vicente J. Botet Escriba
+
+// Distributed under the Boost Software License, Version 1.0.
+// See http://www.boost.org/LICENSE_1_0.txt
+
+
+#define min(A,B) ((A)<(B)?(A):(B))
+#define max(A,B) ((A)>(B)?(A):(B))
+
+#include <boost/chrono/chrono.hpp>
+#include <boost/chrono/process_times.hpp>
+
+ int main()
+ {
+ boost::chrono::run_timer t;
+ }
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk