public void HealthTest() { int health = 0; // TODO: Initialize to an appropriate value HealthMeter target = new HealthMeter(health); // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; target.Health = expected; actual = target.Health; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
/// <summary> /// Contructor /// </summary> public Player(string actorName) { if (actorName == null) throw new ArgumentNullException("actorName"); _config = new PlayerConfig(); _actorName = actorName; _health = new HealthMeter(_config.StartingHealth); _carryWeight = _config.CarryWeight; _movePenalty = _config.MovePenalty; _lives = _config.Lives; items = new List<IItem>(); _coins = new List<IItem>(); _startingHealth = _config.StartingHealth; }
public void HealthMeterConstructorTest() { int health = 0; // TODO: Initialize to an appropriate value HealthMeter target = new HealthMeter(health); Assert.Inconclusive("TODO: Implement code to verify target"); }