tests cleanup

This commit is contained in:
BlackMATov
2023-01-13 14:13:54 +07:00
parent c32d599fcd
commit bff179fac5
23 changed files with 91 additions and 103 deletions

View File

@@ -11,24 +11,20 @@ namespace
struct clazz_throw_dtor {
int i{};
[[maybe_unused]]
clazz_throw_dtor() {
++constructor_counter;
}
[[maybe_unused]]
clazz_throw_dtor(int ni) : i{ni} {
++constructor_counter;
}
[[maybe_unused]]
clazz_throw_dtor(clazz_throw_dtor&& other)
: i{other.i} {
other.i = 0;
++move_constructor_counter;
}
[[maybe_unused]]
clazz_throw_dtor(const clazz_throw_dtor& other)
: i{other.i} {
++copy_constructor_counter;