Files
30-seconds-of-code/test/count_by/count_by.test.py
Rohit Tanwar e880709a0d website
2018-02-17 19:36:05 +05:30

6 lines
263 B
Python

import types,functools
from pytape import test
from count_by import count_by
def count_by_test(t):
t.true(isinstance(count_by, (types.BuiltinFunctionType, types.FunctionType, functools.partial)),'count_by is a function')
test('Testing count_by',count_by_test)