Пример #1
0
        public void DieRollHasSufficientProbabilityToAlwaysBeBetween1And6()
        {
            SixSidedDie die = new SixSidedDie();

            for (int i = 0; i < 10000; i++)
            {
                Assert.IsTrue(die.Roll() >= 1 && die.Roll() <= 6);
            }
        }