IronCreepStateChangerTests ApplyAcidThenWater 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 ApplyAcidThenWater()
Examples

[Test, CloseAfterFirstFrame]
public void ApplyAcidThenWater()
{
    IronCreepStateChanger.ChangeStatesIfIronCreep(TowerType.Acid, creep);
    IronCreepStateChanger.ChangeStatesIfIronCreep(TowerType.Water, creep);
    Assert.AreEqual(Vulnerability.Vulnerable,
        creep.State.VulnerabilityState[(int)TowerType.Water]);
    Assert.AreEqual(Vulnerability.HardBoiled,
        creep.State.VulnerabilityState[(int)TowerType.Slice]);
    Assert.AreEqual(Vulnerability.Resistant,
        creep.State.VulnerabilityState[(int)TowerType.Impact]);
}
See Also