Пример #1
0
        public void ShipFixDamage(int damage, int fix, int expected)
        {
            // Use the Assert class to test conditions
            ShipHealth ship = new ShipHealth(10);

            ship.TakeDamage(damage);
            ship.FixDamage(fix);

            Assert.That(ship.GetHealth(), Is.EqualTo(expected));
        }