def test_palindrome_word2(self): ''' Test palindrome word ''' result = st.palindrome_word("Madam") self.assertIs(result, True)
def test_palindrome_word3(self): ''' Test palindrome word ''' result = st.palindrome_word("palindrome") self.assertIs(result, False)
def test_palindrome_sentence3(self): ''' Test palindrome sentence ''' resutl = st.palindrome_word(" Do geese see God ") self.asserIs(result, True)
def test_palindrome_sentence2(self): ''' Test palindrome sentence ''' resutl = st.palindrome_word("Random sentence") self.asserIs(result, False)
def test_palindrome_sentence1(self): ''' Test palindrome sentence ''' resutl = st.palindrome_word("Was it a car or a cat I saw") self.asserIs(result, True)
def test_palindrome_word1(self): ''' Test palindrome word ''' resutl = st.palindrome_word("madam") self.asserIs(result, True)
self.assertIs(result, True) def test_palindrome_word3(self): ''' Test palindrome word ''' result = st.palindrome_word("palindrome") self.assertIs(result, False) def test_palindrome_sentence1(self): ''' Test palindrome sentence ''' <<<<<<< HEAD result = st.palindrome_word("Was it a car or a cat I saw") ======= result = st.palindrome_sentence("Was it a car or a cat I saw") >>>>>>> upstream/master self.assertIs(result, True) def test_palindrome_sentence2(self): ''' Test palindrome sentence ''' <<<<<<< HEAD result = st.palindrome_word("Random sentence") ======= result = st.palindrome_sentence("Random sentence") >>>>>>> upstream/master self.assertIs(result, False)