Esempio n. 1
0
        public void if_Roll_One()
        {
            var theDice = new Dices.Dice();

            theDice.RollOne();

            theDice.result.Should().Be(1);
        }
Esempio n. 2
0
        public void Taken_off()
        {
            var theDice = new Dices.Dice();

            theDice.TakeOff();

            theDice.result.Should().Be(0);
        }
Esempio n. 3
0
        public void if_Roll_Dice()
        {
            var theDice = new Dices.Dice();

            theDice.Roll();

            theDice.result.Should().BeLessThan(7);
        }
        public void Can_Create_Dice()
        {
            var theDice = new Dices.Dice();

            theDice.result.Should().Be(1);
        }