Namespace: DeltaEngine.Tests.Entities
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void TestIfComponentIsRemovedWhenEntityIsRemoved() { var entity = new MockEntity().Start<IncrementCounter>(); entity.IsActive = false; entities.RunEntities(); Assert.AreEqual(0, entities.NumberOfEntities); }
See Also