public void StringIsNotPalindrome() { var s = "Ray a Ray"; var expected = false; var actual = IsStringPalindromicPunctuationSolution.IsPalindrome(s); Assert.Equal(expected, actual); }
public void EvenStringIsPalindrome() { var s = "abba"; var expected = true; var actual = IsStringPalindromicPunctuationSolution.IsPalindrome(s); Assert.Equal(expected, actual); }
public void StringWithPunctuationIsPalindrome() { var s = "A man, a plan, a canal, Panama"; var expected = true; var actual = IsStringPalindromicPunctuationSolution.IsPalindrome(s); Assert.Equal(expected, actual); }