WaveGeneratorTests NoCreepsSpawnedIfCreepListIsEmpty Method Delta Engine Documentation

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

public void NoCreepsSpawnedIfCreepListIsEmpty()
Examples

[Test, CloseAfterFirstFrame]
public void NoCreepsSpawnedIfCreepListIsEmpty()
{
    var waveA = new CreepWave(0.0f, 1.0f);
    var waves = new List<CreepWave> { waveA };
    new WaveGenerator(waves, Vector3D.One);
    Assert.AreEqual(0, EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count);
}
See Also