Skip to content

Commit

Permalink
c-style fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
s0mewha7 committed May 30, 2024
1 parent 2f475c9 commit 9cb4b20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions advanced_vector_hw/adv_vector_testing.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <iostream>
#include <algorithm>
#include <gtest/gtest.h>
#include <stdexcept>
#include <string>
#include <vector>

Expand Down Expand Up @@ -31,7 +30,7 @@ struct nomoveconstructed {
nomoveconstructed() = delete;
~nomoveconstructed() = default;

nomoveconstructed(nomoveconstructed &other) = default; /// copy constructor in allowed
nomoveconstructed(nomoveconstructed &other) = default;
nomoveconstructed &operator=(const nomoveconstructed &other) = delete;
nomoveconstructed &operator=(nomoveconstructed &&other) = delete;

Expand Down Expand Up @@ -68,7 +67,6 @@ struct nodefaultconstructed {
[[nodiscard]] size_t getvalue() const noexcept {
return value;
}

};

TEST(DefaultConstructor, WithoutDefaultConstruct) {
Expand All @@ -86,7 +84,6 @@ TEST(DefaultConstructor, WSTRINGS) {
TEST(ParamConstuctor, WithoutDefaultConstruct) {
bmstu::advanced_vector<nodefaultconstructed> vec(10);
ASSERT_EQ(vec.size(), 10);

}

TEST(ParamConstructor, INTEGER) {
Expand Down

0 comments on commit 9cb4b20

Please sign in to comment.