public void PlayerCanRollTheDice() { RollADice newDiceRoll = new RollADice(); Assert.GreaterOrEqual(newDiceRoll.RollTheDice(), 1); Assert.LessOrEqual(newDiceRoll.RollTheDice(), 6); }
public string DiceRoll() { Console.ReadKey(); RollADice newRoll = new RollADice(); int playerRoll = newRoll.RollTheDice(); return(playerRoll.ToString()); }