public void GainTotalManaAddToTotal() { // Arrange int expectedTotal = Rules.DefaultMana + 1; var mana = new Mana(); // Act mana.GainTotal(1); // Assert Assert.Equal(expectedTotal, mana.Total); }
public void GainTotalManaDontAddSlots() { // Arrange int expectedSlots = Rules.DefaultMana; var mana = new Mana(); // Act mana.GainTotal(1); // Assert Assert.Equal(expectedSlots, mana.Slots); }
public void ManaSlotsEqualsTotalAfterGainAndRefill() { // Arrange int expectedSlots = Rules.DefaultMana + 2; var mana = new Mana(); // Act mana.GainTotal(2); mana.Refill(); // Assert Assert.Equal(expectedSlots, mana.Slots); }