forked from boostorg/move
Fixes Issue #25
This commit is contained in:
1 parent
2d00bc5d74
commit
bfdfca0b88
9 files changed
+267
-130
No files matched your search
@@ -66,8 +66,19 @@ bool test_random_shuffled(std::size_t const element_count, std::size_t const num
|
||||
return true;
|
||||
}
|
||||
|
||||
void instantiate_smalldiff_iterators()
|
||||
{
|
||||
typedef randit<int, short> short_rand_it_t;
|
||||
boost::movelib::adaptive_merge(short_rand_it_t(), short_rand_it_t(), short_rand_it_t(), less_int());
|
||||
|
||||
typedef randit<int, signed char> schar_rand_it_t;
|
||||
boost::movelib::adaptive_merge(schar_rand_it_t(), schar_rand_it_t(), schar_rand_it_t(), less_int());
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
instantiate_smalldiff_iterators();
|
||||
|
||||
const std::size_t NIter = 100;
|
||||
test_random_shuffled<order_move_type>(10001, 3, NIter);
|
||||
test_random_shuffled<order_move_type>(10001, 65, NIter);
|
||||
|
||||
Reference in new issue
Block a user