|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67399 - in sandbox/icl/libs/icl/test: fastest_interval_map_ test_casual_
From: afojgo_at_[hidden]
Date: 2010-12-21 17:12:04
Author: jofaber
Date: 2010-12-21 17:12:02 EST (Tue, 21 Dec 2010)
New Revision: 67399
URL: http://svn.boost.org/trac/boost/changeset/67399
Log:
Minor modifications of tests.
Text files modified:
sandbox/icl/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj | 3 +--
sandbox/icl/libs/icl/test/test_casual_/test_casual.cpp | 8 ++++++--
2 files changed, 7 insertions(+), 4 deletions(-)
Modified: sandbox/icl/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj
==============================================================================
--- sandbox/icl/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj (original)
+++ sandbox/icl/libs/icl/test/fastest_interval_map_/vc9_fastest_interval_map.vcproj 2010-12-21 17:12:02 EST (Tue, 21 Dec 2010)
@@ -42,7 +42,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../../../"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_STLP_DEBUG=1"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -62,7 +62,6 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="stlportstld.5.2.lib stlportd.5.2.lib "
OutputFile="../../../../bin/debug/$(ProjectName).exe"
LinkIncremental="2"
AdditionalLibraryDirectories="../../../../stage/lib;"
Modified: sandbox/icl/libs/icl/test/test_casual_/test_casual.cpp
==============================================================================
--- sandbox/icl/libs/icl/test/test_casual_/test_casual.cpp (original)
+++ sandbox/icl/libs/icl/test/test_casual_/test_casual.cpp 2010-12-21 17:12:02 EST (Tue, 21 Dec 2010)
@@ -60,9 +60,13 @@
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;
- icl::size(rel_a_b);
- cout << rel_a_b << " " << d_m << (icl::size(rel_a_b)) << endl;
+ cout << rel_a_b << " " << (icl::size(rel_a_b)) << endl;
}
BOOST_AUTO_TEST_CASE(casual)
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