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 CheckWaterThenIceThenFireEffect() { SandCreepStateChanger.ChangeStatesIfSandCreep(TowerType.Water, creep); Assert.IsTrue(creep.State.Wet); SandCreepStateChanger.ChangeStatesIfSandCreep(TowerType.Ice, creep); Assert.IsTrue(creep.State.Frozen); SandCreepStateChanger.ChangeStatesIfSandCreep(TowerType.Fire, creep); Assert.IsFalse(creep.State.Frozen); Assert.IsTrue(creep.State.Wet); }
See Also