def test_even_word_palindrome(self): # given word = 'noon' # when isPalindrome = palindrome.is_word_palindrome_v1(word) # then self.assertEquals(isPalindrome, True)
def test_word_is_not_palindrome(self): # given word = 'dented' # when isPalindrome = palindrome.is_word_palindrome_v1(word) # then self.assertEquals(isPalindrome, False)
def test_odd_word_palindrome(self): # given word = 'racecar' # when isPalindrome = palindrome.is_word_palindrome_v1(word) # then self.assertEquals(isPalindrome, True)