mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
Re-enable the evaluation order tests
This commit is contained in:
parent
28b1d57abb
commit
cd265f991b
@ -52,13 +52,13 @@ TYPED_TEST(single_dimension_tests, is_logical_and_connectable) {
|
|||||||
ASSERT_ASYNC_TYPES(std::move(chain), tag1, tag2, tag3);
|
ASSERT_ASYNC_TYPES(std::move(chain), tag1, tag2, tag3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*{
|
{
|
||||||
// Check the evaluation order
|
// Check the evaluation order
|
||||||
unsigned i = 0;
|
unsigned i = 0;
|
||||||
auto composed =
|
auto composed =
|
||||||
make_step(this, i, 0) && make_step(this, i, 1) && make_step(this, i, 2);
|
make_step(this, i, 0) && make_step(this, i, 1) && make_step(this, i, 2);
|
||||||
EXPECT_ASYNC_RESULT(std::move(composed));
|
EXPECT_ASYNC_RESULT(std::move(composed));
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TYPED_TEST(single_dimension_tests, is_logical_or_connectable) {
|
TYPED_TEST(single_dimension_tests, is_logical_or_connectable) {
|
||||||
@ -94,4 +94,13 @@ TYPED_TEST(single_dimension_tests, is_logical_or_connectable) {
|
|||||||
auto chain = this->supply(char(0), int(0)) || this->supply(int(0), char(0));
|
auto chain = this->supply(char(0), int(0)) || this->supply(int(0), char(0));
|
||||||
ASSERT_ASYNC_TYPES(std::move(chain), common, common);
|
ASSERT_ASYNC_TYPES(std::move(chain), common, common);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
// Check the evaluation order
|
||||||
|
unsigned i = 0;
|
||||||
|
auto composed =
|
||||||
|
make_step(this, i, 0) || make_step(this, i, 1) || make_step(this, i, 2);
|
||||||
|
EXPECT_ASYNC_RESULT(std::move(composed));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user