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