9 lines
195 B
Python
9 lines
195 B
Python
from palindrome_mhartl.phrase import Phrase
|
|
|
|
|
|
def test_non_palindrome():
|
|
assert not Phrase("apple").ispalindrome()
|
|
|
|
def test_literal_palindrome():
|
|
assert Phrase("racecar").ispalindrome()
|