Added assertion in main to make clear that iteration has stopped

This commit is contained in:
flying-scorpio 2019-11-30 17:54:07 +01:00
parent 312e0a955f
commit f10f763078

View file

@ -22,8 +22,7 @@ def main():
while '.' in string: while '.' in string:
new_string = iterate_board(string) new_string = iterate_board(string)
if new_string == string: assert new_string != string
break
string = new_string string = new_string