Added insertion test to vector-like containers

[SVN r83469]
This commit is contained in:
Ion Gaztañaga
2013-03-16 19:31:32 +00:00
parent 6c13bd4918
commit 7634deec5c
3 changed files with 11 additions and 3 deletions
+6 -1
View File
@@ -31,6 +31,7 @@
#include <boost/move/utility.hpp>
#include <boost/move/iterator.hpp>
#include <boost/detail/no_exceptions_support.hpp>
#include "insert_test.hpp"
namespace boost{
namespace container {
@@ -102,6 +103,10 @@ int vector_test()
typedef typename MyBoostVector::value_type IntType;
const int max = 100;
if(!test_range_insertion<MyBoostVector>()){
return 1;
}
{
BOOST_TRY{
MyBoostVector *boostvector = new MyBoostVector;
@@ -317,6 +322,7 @@ int vector_test()
}
BOOST_CATCH_END
}
std::cout << std::endl << "Test OK!" << std::endl;
return 0;
}
@@ -328,4 +334,3 @@ int vector_test()
#include <boost/container/detail/config_end.hpp>
#endif //BOOST_CONTAINER_TEST_VECTOR_TEST_HEADER