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 CheckForIceTowerOnWetClothCreep() { creep.State.Wet = true; ClothCreepStateChanger.ChangeStatesIfClothCreep(TowerType.Ice, creep); Assert.IsTrue(creep.State.Frozen); Assert.IsTrue(creep.State.Paralysed); Assert.AreEqual(0, creep.State.FrozenTimer); Assert.AreEqual(Vulnerability.Resistant, creep.State.GetVulnerability(TowerType.Slice)); Assert.AreEqual(Vulnerability.Resistant, creep.State.GetVulnerability(TowerType.Water)); Assert.AreEqual(Vulnerability.Vulnerable, creep.State.GetVulnerability(TowerType.Impact)); Assert.AreEqual(Vulnerability.Immune, creep.State.GetVulnerability(TowerType.Fire)); }
See Also