Fixed rolling stone overanxious transpose bug.
This commit is contained in:
1 parent
781573dd9d
commit
f05a1ab895
3 files changed
+13
-9
No files matched your search
@@ -36,10 +36,10 @@ class RollingStoneTest(unittest.TestCase):
|
||||
reaches_goal(playfield, 10, 10, steps, (0, 0), (9, 9)))
|
||||
|
||||
print()
|
||||
playfield, steps = generate_simple_playfield(10, 10, 4, 11)
|
||||
print_playfield(playfield, 10, 10, True)
|
||||
playfield, steps = generate_simple_playfield(10, 15, 4, 150)
|
||||
print_playfield(playfield, 10, 15, False)
|
||||
self.assertTrue(
|
||||
reaches_goal(playfield, 10, 10, steps, (0, 0), (9, 9)))
|
||||
reaches_goal(playfield, 10, 15, steps, (0, 0), (9, 14)))
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user