public void GetStatMethod_ReturnsCorrectStatValue([Values] StatType stat) { int expectedValue; switch (stat) { case StatType.Strength: expectedValue = _fighter.Strength; break; case StatType.Defense: expectedValue = _fighter.Defense; break; case StatType.Speed: expectedValue = _fighter.Speed; break; case StatType.Evade: expectedValue = _fighter.Evade; break; case StatType.Luck: expectedValue = _fighter.Luck; break; default: throw new ArgumentOutOfRangeException(nameof(stat), stat, null); } Assert.AreEqual(expectedValue, _fighter.GetStatValue(stat)); }