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 CheckForFireTowerOnFrozenClothCreep() { creep.State.Frozen = true; ClothCreepStateChanger.ChangeStatesIfClothCreep(TowerType.Fire, creep); Assert.IsFalse(creep.State.Frozen); Assert.IsFalse(creep.State.Burst); Assert.IsFalse(creep.State.Burn); Assert.IsTrue(creep.State.Wet); Assert.AreEqual(0, creep.State.WetTimer); Assert.AreEqual(Vulnerability.Resistant, creep.State.GetVulnerability(TowerType.Fire)); Assert.AreEqual(Vulnerability.HardBoiled, creep.State.GetVulnerability(TowerType.Impact)); Assert.AreEqual(Vulnerability.Weak, creep.State.GetVulnerability(TowerType.Ice)); }
See Also