Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 512 Bytes

test_wordmake.rst

File metadata and controls

26 lines (18 loc) · 512 Bytes

test_wordmake

Good for testing! Probably should be restructured to be more object oriented!

.. automodule:: test_wordmake
    :members:

Tests

.. testsetup:: *
    import wordmake

>>> wordmake(['a', 'b', 'c', 'd'], 2)
['aa', 'ab', 'ac', 'ad', 'ba', 'bb', 'bc', 'bd', 'ca', 'cb', 'cc', 'cd', 'da', 'db', 'dc', 'dd']

Table of starting words