fix for constexpr disabled

add sprout::adaptors::sized
This commit is contained in:
bolero-MURAKAMI 2012-06-16 00:08:42 +09:00
parent 2b8a8662af
commit bcd7674cc0
84 changed files with 1758 additions and 1365 deletions

View file

@ -24,7 +24,7 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 10>{{-1, 0, -1, 0, -1, 0, 0, 0, 0, 0}}
));
@ -37,7 +37,7 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 6>{{-1, 0, -1, 0, -1, 0}}
));
@ -52,7 +52,7 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 4>{{-1, 0, -1, 0}}
));
@ -65,7 +65,7 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 4>{{-1, 0, -1, 0}}
));
@ -80,11 +80,11 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 6>{{-1, 0, -1, 0, -1, 0}}
));
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
sprout::get_internal(replaced),
array<int, 10>{{0, 0, -1, 0, -1, 0, -1, 0, 0, 0}}
));
@ -97,11 +97,11 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 6>{{-1, 0, -1, 0, -1, 0}}
));
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
sprout::get_internal(replaced),
array<int, 10>{{0, 0, -1, 0, -1, 0, -1, 0, 0, 0}}
));