TowerTests NotInitializingTowerDoesntCreateTowerModel Method Delta Engine Documentation

Namespace: CreepyTowers.Tests.Towers
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void NotInitializingTowerDoesntCreateTowerModel()
Examples

[Test, CloseAfterFirstFrame]
public void NotInitializingTowerDoesntCreateTowerModel()
{
    new Tower(TowerType.Water, Vector3D.Zero);
    Assert.AreEqual(0, EntitiesRunner.Current.GetEntitiesOfType<Model>().Count);
    Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Tower>().Count);
}
See Also