Namespace: CreepyTowers.Tests
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 InactiveTowerDoesNotFire() { var tower = new Tower(TowerType.Water, Vector2D.Zero); var creep = CreateCreepOfType(CreepType.Cloth, Vector3D.UnitY); tower.IsActive = false; AdvanceTimeTillTowerAttacks(tower); Assert.AreEqual(1, creep.GetStatPercentage("Hp")); }
See Also