public void Increase_With2_IncreasesScoreWith2() { // Assign var attr = new Ability(AbilityType.Strength, 10); // Act attr.Increase(2); // Assert Assert.Equal(12, attr.Score); }
public void Increase_With2_IncreasesModifierWith1() { // Assign var attr = new Ability(AbilityType.Strength, 10); var before = attr.Modifier; // Act attr.Increase(2); // Assert Assert.Equal(before + 1, attr.Modifier); }