]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
Added comment.
authorLars Pensjö <lars.pensjo@gmail.com>
Sat, 2 Mar 2013 14:33:11 +0000 (15:33 +0100)
committerLars Pensjö <lars.pensjo@gmail.com>
Sat, 2 Mar 2013 14:33:11 +0000 (15:33 +0100)
entityx/Entity_test.cc

index 3fa65487f6e6c87f1fb772622885f18fb7154c43..d042b4b991e26c01c62a8ca25dcacd467941890b 100644 (file)
@@ -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);
 }