Skip to content

Commit

Permalink
Moved the code around to make more sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
annell committed Nov 1, 2023
1 parent d99b941 commit e451ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/ECSTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Created by Stefan Annell on 2023-01-01.
//

#include "include/EntityComponentSystem.h"
#include "src/EcsCpp.h"
#include <gtest/gtest.h>
#include <future>

Expand Down Expand Up @@ -175,7 +175,7 @@ TEST(ECS, CheckLastSlot) {

auto fakeEntity2 = ecs::EntityID(-1);
ASSERT_EQ(fakeEntity2.GetId(), -1);
EXPECT_THROW(auto ret = ecs.HasEntity(fakeEntity2), std::out_of_range);
EXPECT_THROW(auto ret = ecs.HasEntity(fakeEntity2), std::logic_error);
}

TEST(ECS, RemoveEntity) {
Expand Down

0 comments on commit e451ae1

Please sign in to comment.