Skip to content
Snippets Groups Projects
Commit d08d9355 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

TEST: Deleted copy constructor?

parent a12c9ac6
No related branches found
No related tags found
No related merge requests found
Pipeline #12185 failed
...@@ -132,6 +132,7 @@ TEST(test_entity, test_copy_to) { ...@@ -132,6 +132,7 @@ TEST(test_entity, test_copy_to) {
entity.CopyTo(proto_copy); entity.CopyTo(proto_copy);
auto copied = Entity(proto_copy); auto copied = Entity(proto_copy);
auto foo = copied.GetProperties().at(0);
EXPECT_EQ(entity.GetRole(), copied.GetRole()); EXPECT_EQ(entity.GetRole(), copied.GetRole());
EXPECT_EQ(entity.GetName(), copied.GetName()); EXPECT_EQ(entity.GetName(), copied.GetName());
EXPECT_EQ(copied.GetParents().at(0).GetId(), parent.GetId()); EXPECT_EQ(copied.GetParents().at(0).GetId(), parent.GetId());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment