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__': if __name__ == '__main__':
# Identity
print("\nSearching for identity") print("\nSearching for identity")
find_script(( find_script((
("1", "1"), ("1", "1"),
@ -85,10 +84,9 @@ if __name__ == '__main__':
("1984", "1984"), ("1984", "1984"),
), max_length=3) ), max_length=3)
# Successor print("\nSearching for successor")
# print("\nSearching for successor") find_script((
# find_script(( ("1", "2"),
# ("1", "2"), ("42", "43"),
# ("2", "3"), ("1984", "1985"),
# ("3", "4"), ), max_length=5)
# ), max_length=5)