示例#1
0
        public void VerifyMaxGetDouble()
        {
            var maxValue = 55.5;
            var number   = RandomExtensions.GetDouble(maxValue);

            number.Should().BeOfType(typeof(double));
            number.Should().BeLessThan(maxValue);
        }
示例#2
0
        public void VerifyMinMaxGetDouble()
        {
            var minValue = 1.25;
            var maxValue = 111.75;
            var number   = RandomExtensions.GetDouble(minValue, maxValue);

            number.Should().BeOfType(typeof(double));
            number.Should().BeGreaterThan(minValue);
            number.Should().BeLessThan(maxValue);
        }
示例#3
0
        public void VerifyGetDouble()
        {
            var number = RandomExtensions.GetDouble();

            number.Should().BeOfType(typeof(double));
        }