Exemplo n.º 1
0
        public void ValidateAllComponentsRemoved()
        {
            _defaultEntity.AddComponentA();
            _defaultEntity.AddComponentB();
            _defaultEntity.RemoveAllComponents();

            Assert.IsFalse(_defaultEntity.HasComponentA());
            Assert.IsFalse(_defaultEntity.HasComponentB());
            Assert.IsEmpty(_defaultEntity.GetComponents());
            Assert.IsEmpty(_defaultEntity.GetComponentIndices());
        }