public void ShieldRepair() { DamageShip(5d, DamageType.Energy); var repair = new ArmourRepair(); repair.Repair(_ship, _shieldInfo); Assert.That(_ship.Statistics[ShipStatistic.EnergyArmourStrength].CurrentValue, Is.EqualTo(100d)); }
public void SmallDamage() { for ( var i = 0; i < 5; i++ ) DamageShip(1d); var repair = new ArmourRepair(); repair.Repair(_ship, _shieldInfo); Assert.That(_ship.Statistics[ShipStatistic.EnergyArmourStrength].CurrentValue, Is.EqualTo(100d)); }
public void UndamagedShipRepair() { var repair = new ArmourRepair(); repair.Repair(_ship, _shieldInfo); Assert.That(_ship.Statistics[ShipStatistic.EnergyArmourStrength].CurrentValue, Is.EqualTo(100d)); }