单元测试和改进

This commit is contained in:
2025-11-02 12:18:55 +08:00
parent 2640299cd2
commit b7437366bb
5 changed files with 5 additions and 29 deletions

View File

@@ -16,5 +16,5 @@ class Fission():
if random.random() <= possibility:
self.puzzles.append(puz.puzzles[item])
def iterator(self):
def generate(self):
yield from self.puzzles