|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82009 - sandbox-branches/geometry/index/test
From: adam.wulkiewicz_at_[hidden]
Date: 2012-12-15 21:43:19
Author: awulkiew
Date: 2012-12-15 21:43:18 EST (Sat, 15 Dec 2012)
New Revision: 82009
URL: http://svn.boost.org/trac/boost/changeset/82009
Log:
Added size() check to the insert test.
Text files modified:
sandbox-branches/geometry/index/test/static_vector.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Modified: sandbox-branches/geometry/index/test/static_vector.cpp
==============================================================================
--- sandbox-branches/geometry/index/test/static_vector.cpp (original)
+++ sandbox-branches/geometry/index/test/static_vector.cpp 2012-12-15 21:43:18 EST (Sat, 15 Dec 2012)
@@ -380,6 +380,7 @@
{
static_vector<T, N> s1(s);
s1.insert(s1.begin() + i, n, v);
+ BOOST_CHECK(s1.size() == h+n);
for ( size_t j = 0 ; j < i ; ++j )
BOOST_CHECK(s1[j] == T(j));
for ( size_t j = 0 ; j < n ; ++j )
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