public void EmptyString_Success() { var validPalindrome = new ValidPalindrome(""); var result = validPalindrome.IsPalindrome(); Assert.True(result); }
public void FirstCase_SecondApproach_Success_True() { var str = "A man, a plan, a canal: Panama"; var validPalindrome = new ValidPalindrome(str); var result = validPalindrome.IsPalindrome2(); Assert.True(result); }
public void ThirdCase_SecondApproach_Success_False() { var str = "0P"; var validPalindrome = new ValidPalindrome(str); var result = validPalindrome.IsPalindrome2(); Assert.False(result); }
public void SecondCase_Success_False() { var str = "race a car"; var validPalindrome = new ValidPalindrome(str); var result = validPalindrome.IsPalindrome(); Assert.False(result); }