mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56: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);
|
||||
}
|
||||
|
||||
/*{
|
||||
{
|
||||
// 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));
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
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));
|
||||
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