Пример #1
0
        public void StringProblems_Compress_ReturnsStringCompressedIfItsLengthIsSmallerThanNonCompressedString()
        {
            //Act
            string expected = "a2b1c5a3";

            stringActual = text.Compress("aabcccccaaa");

            // Assert
            stringActual.Should().Be(expected);
        }