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 ApplyingIceToMeltedIronCreepMightNotShatter() { Randomizer.Use(new FixedRandom(new[] { 0.9f })); IronCreepStateChanger.ChangeStatesIfIronCreep(TowerType.Ice, creep); IronCreepStateChanger.ChangeStatesIfIronCreep(TowerType.Acid, creep); IronCreepStateChanger.ChangeStatesIfIronCreep(TowerType.Ice, creep); Assert.AreEqual(1, creep.GetStatPercentage("Hp")); }
See Also