|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67404 - in branches/release/libs/icl: . test/fastest_interval_map_ test/test_casual_
From: afojgo_at_[hidden]
Date: 2010-12-21 18:00:23
Author: jofaber
Date: 2010-12-21 18:00:22 EST (Tue, 21 Dec 2010)
New Revision: 67404
URL: http://svn.boost.org/trac/boost/changeset/67404
Log:
Minor modifications of tests.
Properties modified:
branches/release/libs/icl/ (props changed)
Text files modified:
branches/release/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj | 2 +-
branches/release/libs/icl/test/test_casual_/test_casual.cpp | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
Modified: branches/release/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj
==============================================================================
--- branches/release/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj (original)
+++ branches/release/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj 2010-12-21 18:00:22 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: branches/release/libs/icl/test/test_casual_/test_casual.cpp
==============================================================================
--- branches/release/libs/icl/test/test_casual_/test_casual.cpp (original)
+++ branches/release/libs/icl/test/test_casual_/test_casual.cpp 2010-12-21 18:00:22 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