Namespace: CreepyTowers.Tests.Creeps
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void CreepSpawnedInWaveOnlyAfterSpawnInterval() { new WaveGenerator(waveList, Vector3D.One); Assert.AreEqual(0, EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count); AdvanceTimeAndUpdateEntities(1.1f); Assert.GreaterOrEqual(EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count, 1); AdvanceTimeAndUpdateEntities(1.1f); Assert.GreaterOrEqual(EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count, 2); }
See Also