public void CountLcsLength_WhenSameCharacterText_ThenShorterLength()
        {
            // given
            string text = "xxxx";
            // when
            int result = LongestCommonSubsequence.CountLcsLength(text + text, text);

            // then
            result.Should().Be(text.Length);
        }
        public void CountLcsLength_WhenSameText_ThenTextLength()
        {
            // given
            string text = "qwertyuiop";
            // when
            int result = LongestCommonSubsequence.CountLcsLength(text, text);

            // then
            result.Should().Be(text.Length);
        }
        public void CountLcsLength_WhenCommonSubsequence_ThenCommonSubsequenceLength()
        {
            // when
            int result = LongestCommonSubsequence.CountLcsLength(
                "qwertyuiop".Select(c => (int)c).ToList(),
                "zxrtyasdfuiopcvb".Select(c => (int)c).ToList());

            // then
            result.Should().Be("rtyuiop".Length);
        }