mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-16 22:17:02 +07:00
fix CI tests
This commit is contained in:
@@ -618,15 +618,15 @@ TEST_CASE("meta/meta_utilities/value") {
|
||||
CHECK(ivec2::copy_constructor_counter == 0);
|
||||
|
||||
meta::uvalue vv1{*vp};
|
||||
CHECK((ivec2::move_constructor_counter == 0 || ivec2::move_constructor_counter == 1 || ivec2::move_constructor_counter == 2));
|
||||
CHECK(ivec2::move_constructor_counter <= 3);
|
||||
CHECK(ivec2::copy_constructor_counter == 1);
|
||||
|
||||
meta::uvalue vv2{*std::move(vp)};
|
||||
CHECK((ivec2::move_constructor_counter == 0 || ivec2::move_constructor_counter == 2 || ivec2::move_constructor_counter == 4));
|
||||
CHECK(ivec2::move_constructor_counter <= 6);
|
||||
CHECK(ivec2::copy_constructor_counter == 2);
|
||||
|
||||
meta::uvalue vv3{*std::as_const(vp)};
|
||||
CHECK((ivec2::move_constructor_counter == 0 || ivec2::move_constructor_counter == 3 || ivec2::move_constructor_counter == 6));
|
||||
CHECK(ivec2::move_constructor_counter <= 9);
|
||||
CHECK(ivec2::copy_constructor_counter == 3);
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user