コード例 #1
0
        public void AssertRandomDoubleNumberIsInRange()
        {
            const double minDouble = 5.0;
            const double maxDouble = 15.0;

            for (var i = 0; i < 50; i++)
            {
                Assert.InRange(ExtraMath.RandomDoubleFromRange(minDouble, maxDouble), minDouble, maxDouble);
            }
        }