示例#1
0
        public void CreateRandomLong_GivenMinimumAndMaximumValues_ShouldGenerateValueBetweenGivenValues(int minimumValue, int maximumValue)
        {
            //---------------Set up test pack-------------------
            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            var randomNumber = RandomValueGenerator.CreateRandomLong(minimumValue, maximumValue);

            //---------------Test Result -----------------------
            randomNumber.Should().BeGreaterOrEqualTo(minimumValue);
            randomNumber.Should().BeLessOrEqualTo(maximumValue);
        }