diff options
author | Alec Thomas <alec@swapoff.org> | 2014-04-25 14:21:27 -0400 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2014-04-25 14:21:27 -0400 |
commit | 4fa8b553c24e8de69195f35a6c55f9ccf23339a6 (patch) | |
tree | 26de26ab14bf76075f21d04b352ae288bc5eedd5 | |
parent | 8fea87063fe757988842806d60541273661de254 (diff) |
Verify destroyed event count is correct.
-rw-r--r-- | entityx/Entity_test.cc | 1 |
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); } |