public void AddToCount_AddValid(int value, int count, int countToAdd, int expected) { var diceCollection = new DiceCollection(value, count); diceCollection.AddToCount(countToAdd); Assert.AreEqual(expected, diceCollection.Count); }
public void AddToCount_AddInvalid_ThrowsException(int value, int count, int countToAdd, int expected) { var diceCollection = new DiceCollection(value, count); diceCollection.AddToCount(countToAdd); }