Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67403 - in trunk/libs/icl: . test/fastest_interval_map_ test/test_casual_
From: afojgo_at_[hidden]
Date: 2010-12-21 17:46:19


Author: jofaber
Date: 2010-12-21 17:46:17 EST (Tue, 21 Dec 2010)
New Revision: 67403
URL: http://svn.boost.org/trac/boost/changeset/67403

Log:
Minor modifications of tests.
Properties modified:
   trunk/libs/icl/ (props changed)
Text files modified:
   trunk/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj | 2 +-
   trunk/libs/icl/test/test_casual_/test_casual.cpp | 22 ++++++++++++++++++++++
   2 files changed, 23 insertions(+), 1 deletions(-)

Modified: trunk/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj
==============================================================================
--- trunk/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj (original)
+++ trunk/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj 2010-12-21 17:46:17 EST (Tue, 21 Dec 2010)
@@ -41,7 +41,7 @@
                         <Tool
                                 Name="VCCLCompilerTool"
                                 Optimization="0"
- AdditionalIncludeDirectories="../../../../; ../../../../boost_1_35_0"
+ AdditionalIncludeDirectories="../../../../"
                                 PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
                                 MinimalRebuild="true"
                                 BasicRuntimeChecks="3"

Modified: trunk/libs/icl/test/test_casual_/test_casual.cpp
==============================================================================
--- trunk/libs/icl/test/test_casual_/test_casual.cpp (original)
+++ trunk/libs/icl/test/test_casual_/test_casual.cpp 2010-12-21 17:46:17 EST (Tue, 21 Dec 2010)
@@ -54,6 +54,28 @@
 
     cout << ptr_set << endl;
 
+ interval<time_duration>::type rel_a_b
+ = interval<time_duration>::right_open(d_a, d_b);
+
+ time_duration sz_a_b_1 = d_b - d_a;
+ time_duration sz_a_b_2 = icl::size(rel_a_b);
+ cout << "b-a = " << sz_a_b_1 << endl;
+ cout << "size([a,b)) = " << sz_a_b_2 << endl;
+ cout << "size([a,b)) = " << (icl::size(rel_a_b)) << endl;
+
+ cout << rel_a_b << " " << (icl::size(rel_a_b)) << endl;
+}
+
+BOOST_AUTO_TEST_CASE(casual)
+{
+ //typedef int T;
+ //typedef int U;
+ //typedef interval_map<T,U, total_absorber> IntervalMapT;
+ //typedef interval_set<T> IntervalSetT;
+ //typedef IntervalMapT::interval_type IntervalT;
+
+ time_test();
+
     BOOST_CHECK_EQUAL(true, true);
 }
 


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