Пример #1
0
        public void GivenAnyWhenShortParagraphThenParagraphReturned()
        {
            const int maximumLength     = 1;
            var       paragraphReturned = AnyVal.Paragraphs(maximumLength);

            paragraphReturned.Length.Should().Be(maximumLength);
            Console.WriteLine(paragraphReturned);
        }
Пример #2
0
        public void GivenAnyWhenLongParagraphThenParagraphReturned()
        {
            const int maximumLength     = 500;
            var       paragraphReturned = AnyVal.Paragraphs(maximumLength);

            paragraphReturned.Length.Should().Be(maximumLength);
            paragraphReturned.Should().Contain(" ");
            paragraphReturned.Should().Contain(".\r\n");
            Console.WriteLine(paragraphReturned);
        }