GamesCrafters / GamesmanPuzzles

🧩 A Python Project dedicated to providing functionality for solving puzzles.
GNU General Public License v3.0
4 stars 3 forks source link

Lower the test time for PegSolitaire #39

Open Ant1ng2 opened 4 years ago

Ant1ng2 commented 4 years ago

Testing PegSolitaire becomes pretty hard when it's solving a 5-width triangle under the current implementation. To visualize, comment out this line here and run pytest from the working directory.

TestServer takes a while to finish because we're solving all the puzzles, PegSolitaire taking the majority of the time.

I suggest the following options to improve PegSolitaire's testing time

Ant1ng2 commented 3 years ago

(Edit: comment no longer applies): This issue doesn't really make sense, there's no PegSolitaire with 3-4 variants.