public void TestLengthOfLongestSubstring(string s, int expectedLength) { var strProblems = new StringProblems(); var actualLength = strProblems.LengthOfLongestSubstring(s); Assert.Equal <int>(expectedLength, actualLength); }
public void TestLengthOfLongestSubstring(string s, int expectedLength) { var strProblems = new StringProblems(); var actualLength = strProblems.LengthOfLongestSubstring(s); Assert.Equal <int>(expectedLength, actualLength); }