Fix successor test cases

This commit is contained in:
Mattéo Delabre 2021-01-27 13:48:55 +01:00
parent 349edecc4e
commit bced251748
Signed by: matteo
GPG Key ID: AE3FBD02DC583ABB
1 changed files with 6 additions and 8 deletions

View File

@ -77,7 +77,6 @@ def find_script(pairs, max_length):
if __name__ == '__main__':
# Identity
print("\nSearching for identity")
find_script((
("1", "1"),
@ -85,10 +84,9 @@ if __name__ == '__main__':
("1984", "1984"),
), max_length=3)
# Successor
# print("\nSearching for successor")
# find_script((
# ("1", "2"),
# ("2", "3"),
# ("3", "4"),
# ), max_length=5)
print("\nSearching for successor")
find_script((
("1", "2"),
("42", "43"),
("1984", "1985"),
), max_length=5)