6 lines
282 B
Python
6 lines
282 B
Python
import types,functools
|
|
from pytape import test
|
|
from palindrome import palindrome
|
|
def palindrome_test(t):
|
|
t.true(isinstance(palindrome, (types.BuiltinFunctionType, types.FunctionType, functools.partial)),'palindrome is a function')
|
|
test('Testing palindrome',palindrome_test) |