diff options
author | Lars Pensjö <lars.pensjo@gmail.com> | 2013-03-02 15:33:11 +0100 |
---|---|---|
committer | Lars Pensjö <lars.pensjo@gmail.com> | 2013-03-02 15:33:11 +0100 |
commit | 2c78e9edf9042acab9660f09ae6119ca21e5aacf (patch) | |
tree | cb9a37384064996bc71b96c8aad5dd0fe2454497 | |
parent | 48d8f894bd7bfddcb49743855397e3ab622bc40f (diff) |
Added comment.
-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 3fa6548..d042b4b 100644 --- a/entityx/Entity_test.cc +++ b/entityx/Entity_test.cc @@ -87,6 +87,7 @@ TEST_F(EntityManagerTest, TestEntityReuse) { em.destroy(e1); ASSERT_TRUE(!em.exists(e1)); Entity e2 = em.create(); + // It is assumed that the allocation will reuse the same entity id. ASSERT_EQ(e2.id(), id); } |