public void DiceRollShouldBe0IfInputIsNegative() { DiceController testDiceController = new DiceController(); int roll = testDiceController.DiceRoll(1, -10); Assert.IsTrue(roll == 0, "The outcome of the 20 should be 0. "); }
public void DiceRollShouldBeBetween1And13() { DiceController testDiceController = new DiceController(); int roll = testDiceController.DiceRoll(1, 12); Assert.IsTrue(roll <= 13 && roll >= 1, "The outcome of the 4 sided dice is between 1 and 13. "); }