mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
rename reduct_iterator -> reduce_iterator
This commit is contained in:
parent
64ca12a984
commit
fc0a1817d5
46 changed files with 1413 additions and 1413 deletions
|
@ -54,32 +54,32 @@ namespace testspr {
|
|||
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_input(sprout::begin(arr1)),
|
||||
testspr::reduct_input(sprout::end(arr1)),
|
||||
testspr::reduce_input(sprout::begin(arr1)),
|
||||
testspr::reduce_input(sprout::end(arr1)),
|
||||
10
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(!result);
|
||||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_input(sprout::begin(arr1)),
|
||||
testspr::reduct_input(sprout::end(arr1)),
|
||||
testspr::reduce_input(sprout::begin(arr1)),
|
||||
testspr::reduce_input(sprout::end(arr1)),
|
||||
11
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(result);
|
||||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_input(sprout::begin(arr1)),
|
||||
testspr::reduct_input(sprout::begin(arr1) + 5),
|
||||
testspr::reduce_input(sprout::begin(arr1)),
|
||||
testspr::reduce_input(sprout::begin(arr1) + 5),
|
||||
10
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(result);
|
||||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_input(sprout::begin(arr1)),
|
||||
testspr::reduct_input(sprout::begin(arr1) + 5),
|
||||
testspr::reduce_input(sprout::begin(arr1)),
|
||||
testspr::reduce_input(sprout::begin(arr1) + 5),
|
||||
11
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(result);
|
||||
|
@ -87,32 +87,32 @@ namespace testspr {
|
|||
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_random_access(sprout::begin(arr1)),
|
||||
testspr::reduct_random_access(sprout::end(arr1)),
|
||||
testspr::reduce_random_access(sprout::begin(arr1)),
|
||||
testspr::reduce_random_access(sprout::end(arr1)),
|
||||
10
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(!result);
|
||||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_random_access(sprout::begin(arr1)),
|
||||
testspr::reduct_random_access(sprout::end(arr1)),
|
||||
testspr::reduce_random_access(sprout::begin(arr1)),
|
||||
testspr::reduce_random_access(sprout::end(arr1)),
|
||||
11
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(result);
|
||||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_random_access(sprout::begin(arr1)),
|
||||
testspr::reduct_random_access(sprout::begin(arr1) + 5),
|
||||
testspr::reduce_random_access(sprout::begin(arr1)),
|
||||
testspr::reduce_random_access(sprout::begin(arr1) + 5),
|
||||
10
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(result);
|
||||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto result = sprout::none_of_equal(
|
||||
testspr::reduct_random_access(sprout::begin(arr1)),
|
||||
testspr::reduct_random_access(sprout::begin(arr1) + 5),
|
||||
testspr::reduce_random_access(sprout::begin(arr1)),
|
||||
testspr::reduce_random_access(sprout::begin(arr1) + 5),
|
||||
11
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue