Skip to content

Commit

Permalink
Verify destroyed event count is correct.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Apr 25, 2014
1 parent 8fea870 commit 4fa8b55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entityx/Entity_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ TEST_CASE_METHOD(EntityManagerFixture, "TestEntityDestroyedEvent") {
for (auto e : entities) {
e.destroy();
}
REQUIRE(10UL == receiver.destroyed.size());
REQUIRE(entities == receiver.destroyed);
}

Expand Down

0 comments on commit 4fa8b55

Please sign in to comment.