From: Alec Thomas Date: Fri, 25 Apr 2014 18:21:27 +0000 (-0400) Subject: Verify destroyed event count is correct. X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=4fa8b553c24e8de69195f35a6c55f9ccf23339a6;p=clyne%2Fentityx.git Verify destroyed event count is correct. --- 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); }