cubing / cubing.js

🛠 A library for displaying and working with twisty puzzles. Also currently home to the code for Twizzle.
https://js.cubing.net/cubing/
GNU General Public License v3.0
232 stars 42 forks source link

Test `twsearch` against a fixed state. #259

Closed lgarron closed 1 year ago

lgarron commented 1 year ago

Goal

Right now, we test against a dynamically generated scramble. In theory, if twsearch always returned the empty alg, that test would still pass. We should have a more robust test against at least a fixed scramble, perhaps also a dynamic one.

Possible solution

Test twsearch against a fixed state, e.g. a fixed 2x2x2 scramble.

Alternatives

No response