public void RemoveExtraChar_1MillionSlashs_empty() { string str = new string('/', 100000); string actual = Palindrome.RemoveExtraChar(str); Assert.Empty(actual); }
public void RemoveExtraChar_() { string str = @"`q15 +].{:z\n"; string actual = Palindrome.RemoveExtraChar(str); string expected = "q15zn"; Assert.Equal(expected, actual); }