aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Thomas <alec@swapoff.org>2014-04-25 14:21:27 -0400
committerAlec Thomas <alec@swapoff.org>2014-04-25 14:21:27 -0400
commit4fa8b553c24e8de69195f35a6c55f9ccf23339a6 (patch)
tree26de26ab14bf76075f21d04b352ae288bc5eedd5
parent8fea87063fe757988842806d60541273661de254 (diff)
Verify destroyed event count is correct.
-rw-r--r--entityx/Entity_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/entityx/Entity_test.cc b/entityx/Entity_test.cc
index ea9971a..f40a9bc 100644
--- a/entityx/Entity_test.cc
+++ b/entityx/Entity_test.cc
@@ -317,6 +317,7 @@ TEST_CASE_METHOD(EntityManagerFixture, "TestEntityDestroyedEvent") {
for (auto e : entities) {
e.destroy();
}
+ REQUIRE(10UL == receiver.destroyed.size());
REQUIRE(entities == receiver.destroyed);
}