Files
30-seconds-of-code/test/shuffle/shuffle.test.py
2018-02-16 16:09:18 +05:30

6 lines
254 B
Python

import types,functools
from tape import test
from shuffle import shuffle
def shuffle_test(t):
t.true(isinstance(shuffle, (types.BuiltinFunctionType, types.FunctionType, functools.partial)),'shuffle is a function')
test('Testing shuffle',shuffle_test)