Open Source / Free Software developer
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))