public void CollectionOfDestroyables_AddIncreasesNumberOfItems()
        {
            CollectionOfDestroyables col = new CollectionOfDestroyables();

            Assert.AreEqual(0, col.Count);
            col.Add(new Destroyable());
            Assert.AreEqual(1, col.Count);
        }
        public void CollectionOfDestroyables_DestroyEventOnItemRemovesItFromCollection()
        {
            CollectionOfDestroyables col = new CollectionOfDestroyables();
            Destroyable d = new Destroyable();

            col.Add(d);
            Assert.AreEqual(1, col.Count);
            d.Hit();
            Assert.AreEqual(0, col.Count);
        }