@Test public void alternateSolution() { Integer actualResult = LengthOfLongestSubstring.alternateFunction(s); Integer expectResult = 3; assertEquals(expectResult, actualResult); }
@Test public void lengthOfLongestSubstring() { Integer actualResult = LengthOfLongestSubstring.lengthOfLongestSubstring(s); Integer expectResult = 3; assertEquals(expectResult, actualResult); }