Skip to content

Commit

Permalink
Fixed on of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jul 15, 2016
1 parent bec6200 commit 1bb508a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/unit/parallel/container_algorithms/remove_copy_if_range.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ void test_remove_copy_if_exception(ExPolicy policy, IteratorTag)
typedef std::vector<std::size_t>::iterator base_iterator;
typedef test::test_iterator<base_iterator, IteratorTag> iterator;

std::vector<std::size_t> c(10007);
typedef test::test_container<std::vector<int>, IteratorTag> test_vector;

test_vector c(10007);
std::vector<std::size_t> d(c.size());
std::iota(boost::begin(c), boost::end(c), std::rand());

Expand Down Expand Up @@ -244,7 +246,9 @@ void test_remove_copy_if_exception_async(ExPolicy p, IteratorTag)
typedef std::vector<std::size_t>::iterator base_iterator;
typedef test::test_iterator<base_iterator, IteratorTag> iterator;

std::vector<std::size_t> c(10007);
typedef test::test_container<std::vector<int>, IteratorTag> test_vector;

test_vector c(10007);
std::vector<std::size_t> d(c.size());
std::iota(boost::begin(c), boost::end(c), std::rand());

Expand Down Expand Up @@ -316,7 +320,9 @@ void test_remove_copy_if_bad_alloc(ExPolicy policy, IteratorTag)
typedef std::vector<std::size_t>::iterator base_iterator;
typedef test::test_iterator<base_iterator, IteratorTag> iterator;

std::vector<std::size_t> c(10007);
typedef test::test_container<std::vector<int>, IteratorTag> test_vector;

test_vector c(10007);
std::vector<std::size_t> d(c.size());
std::iota(boost::begin(c), boost::end(c), std::rand());

Expand Down Expand Up @@ -346,7 +352,9 @@ void test_remove_copy_if_bad_alloc_async(ExPolicy p, IteratorTag)
typedef std::vector<std::size_t>::iterator base_iterator;
typedef test::test_iterator<base_iterator, IteratorTag> iterator;

std::vector<std::size_t> c(10007);
typedef test::test_container<std::vector<int>, IteratorTag> test_vector;

test_vector c(10007);
std::vector<std::size_t> d(c.size());
std::iota(boost::begin(c), boost::end(c), std::rand());

Expand Down

0 comments on commit 1bb508a

Please sign in to comment.