public void IsWord_APalindrome_True() { PalindromeTracker tracker = new PalindromeTracker(); Assert.AreEqual(true, tracker.IsWordAPalindrome("racecar")); }
public void IsWord_WithDifferentCasesPalindrome_True() { PalindromeTracker tracker = new PalindromeTracker(); Assert.AreEqual(true, tracker.IsWordAPalindrome("rAceCar")); }
public void IsWord_NotAPalindrome_True() { PalindromeTracker tracker = new PalindromeTracker(); Assert.AreEqual(true, tracker.IsWordAPalindrome("horse")); }
public void IsWord_BlankInput_False() { PalindromeTracker tracker = new PalindromeTracker(); Assert.AreEqual(false, tracker.IsWordAPalindrome("")); }
public void IsNumber_APalindrome_True() { PalindromeTracker tracker = new PalindromeTracker(); Assert.AreEqual(true, tracker.IsWordAPalindrome("101")); }