Re-enable the evaluation order tests

This commit is contained in:
Denis Blank 2017-02-28 23:49:36 +01:00
parent 28b1d57abb
commit cd265f991b

View File

@ -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));
}
}
}