17 lines
319 B
Python
17 lines
319 B
Python
from pytest import skip
|
|
|
|
from palindrome_mhartl.phrase import Phrase
|
|
|
|
|
|
def test_non_palindrome():
|
|
assert not Phrase("apple").ispalindrome()
|
|
|
|
def test_literal_palindrome():
|
|
assert Phrase("racecar").ispalindrome()
|
|
|
|
def test_mixed_case_palindrome():
|
|
FILL_IN
|
|
|
|
def test_palindrome_with_punctuation():
|
|
skip()
|