Exemple #1
0
        public void PlayerCanRollTheDice()
        {
            RollADice newDiceRoll = new RollADice();

            Assert.GreaterOrEqual(newDiceRoll.RollTheDice(), 1);
            Assert.LessOrEqual(newDiceRoll.RollTheDice(), 6);
        }
Exemple #2
0
        public string DiceRoll()
        {
            Console.ReadKey();
            RollADice newRoll = new RollADice();

            int playerRoll = newRoll.RollTheDice();

            return(playerRoll.ToString());
        }