mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
fix for constexpr disabled
add sprout::adaptors::sized
This commit is contained in:
parent
2b8a8662af
commit
bcd7674cc0
84 changed files with 1758 additions and 1365 deletions
|
@ -19,7 +19,7 @@ namespace testspr {
|
|||
arr1,
|
||||
testspr::is_odd<int>()
|
||||
);
|
||||
TESTSPR_DOUBLE_ASSERT(testspr::equal(
|
||||
TESTSPR_BOTH_ASSERT(testspr::equal(
|
||||
partitioned,
|
||||
array<int, 10>{{1, 3, 5, 7, 9, 2, 4, 6, 8, 10}}
|
||||
));
|
||||
|
@ -29,7 +29,7 @@ namespace testspr {
|
|||
arr1,
|
||||
testspr::is_odd<int>()
|
||||
);
|
||||
TESTSPR_DOUBLE_ASSERT(testspr::equal(
|
||||
TESTSPR_BOTH_ASSERT(testspr::equal(
|
||||
partitioned,
|
||||
array<int, 5>{{1, 3, 5, 7, 9}}
|
||||
));
|
||||
|
@ -41,11 +41,11 @@ namespace testspr {
|
|||
sprout::sub(arr1, 2, 8),
|
||||
testspr::is_odd<int>()
|
||||
);
|
||||
TESTSPR_DOUBLE_ASSERT(testspr::equal(
|
||||
TESTSPR_BOTH_ASSERT(testspr::equal(
|
||||
partitioned,
|
||||
array<int, 6>{{3, 5, 7, 4, 6, 8}}
|
||||
));
|
||||
TESTSPR_DOUBLE_ASSERT(testspr::equal(
|
||||
TESTSPR_BOTH_ASSERT(testspr::equal(
|
||||
sprout::get_internal(partitioned),
|
||||
array<int, 10>{{1, 2, 3, 5, 7, 4, 6, 8, 9, 10}}
|
||||
));
|
||||
|
@ -55,11 +55,11 @@ namespace testspr {
|
|||
sprout::sub(arr1, 2, 8),
|
||||
testspr::is_odd<int>()
|
||||
);
|
||||
TESTSPR_DOUBLE_ASSERT(testspr::equal(
|
||||
TESTSPR_BOTH_ASSERT(testspr::equal(
|
||||
partitioned,
|
||||
array<int, 3>{{3, 5, 7}}
|
||||
));
|
||||
TESTSPR_DOUBLE_ASSERT(testspr::equal(
|
||||
TESTSPR_BOTH_ASSERT(testspr::equal(
|
||||
sprout::get_internal(partitioned),
|
||||
array<int, 10>{{1, 2, 3, 5, 7, 4, 6, 8, 9, 10}}
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue