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

6 lines
298 B
Python

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