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

6 lines
242 B
Python

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