def test_is_palindrome_words_sentence(self):

        self.assertEqual(
            True,
            palindrome(self._TESTDATA_SENTENCE_WORD_PALINDROME,
                       follow_words=True,
                       ignore_punctuation=True))
 def test_not_palindrome_simple(self):
     """
     not-palindromes check
     :return:
     """
     for test_val in self._TESTDATA_LETTER_NOT_PALINDROMES:
         self.assertEqual(False, palindrome(test_val))
 def test_is_palindrome_simple_case_sensitive(self):
     """
     palindromes check
     :return:
     """
     for test_val in self._TESTDATA_LETTER_PALINDROMES:
         self.assertEqual(False, palindrome(test_val, case_sensitive=True))
 def test_is_palindrome_simple(self):
     """
     palindromes check
     :return:
     """
     for test_val in self._TESTDATA_LETTER_PALINDROMES:
         self.assertEqual(True, palindrome(test_val))
    def test_is_not_palindrome_sentence(self):

        self.assertEqual(
            False,
            palindrome(self._TESTDATA_SENTENCE_NOT_PALINDROME,
                       ignore_punctuation=True))
    def test_is_palindrome_multiline_sentence(self):

        self.assertEqual(
            True,
            palindrome(self._TESTDATA_SENTENCE_PALINDROME,
                       ignore_punctuation=True))