Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_sample.doctest
blob: 7c5c1f9f134ab97e185429e59b35285a1f0495fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
test_sample.doctest - simple test for rush hour solution finder

>>> from x import find_solutions

>>> board = '''
... ....AA
... ..BBCC
... rr..EF
... GGHHEF
... ...IEF
... ...IJJ
... '''.strip().split()

>>> list(find_solutions(board))