Exemplo n.º 1
0
        public void TestLengthOfLongestSubstring(string s, int expectedLength)
        {
            var strProblems = new StringProblems();

            var actualLength = strProblems.LengthOfLongestSubstring(s);

            Assert.Equal <int>(expectedLength, actualLength);
        }