]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
Verify destroyed event count is correct.
authorAlec Thomas <alec@swapoff.org>
Fri, 25 Apr 2014 18:21:27 +0000 (14:21 -0400)
committerAlec Thomas <alec@swapoff.org>
Fri, 25 Apr 2014 18:21:27 +0000 (14:21 -0400)
entityx/Entity_test.cc

index ea9971a46d067de303e7f6d327c9b3efffd08656..f40a9bc23c0d69916c64079727f7474eda12a319 100644 (file)
@@ -317,6 +317,7 @@ TEST_CASE_METHOD(EntityManagerFixture, "TestEntityDestroyedEvent") {
   for (auto e : entities) {
     e.destroy();
   }
+  REQUIRE(10UL == receiver.destroyed.size());
   REQUIRE(entities ==  receiver.destroyed);
 }