Fixed check_correct
This commit is contained in:
15
test/helper.py
Normal file
15
test/helper.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from .context import shenzhen_solitaire
|
||||
from shenzhen_solitaire import solver
|
||||
|
||||
from .boards import my_board
|
||||
|
||||
|
||||
def main() -> None:
|
||||
A = solver.solve(my_board)
|
||||
for _, B in zip(range(1), A):
|
||||
print(*B, sep='\n')
|
||||
print(len(B))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user