pensquid / yobmef

Weird toy chess engine written *very much from scratch* in Rust.
14 stars 1 forks source link

Test for hangs/deadlocks #19

Open UlisseMini opened 3 years ago

UlisseMini commented 3 years ago

Currently we have no way of testing for hanging/deadlocks.

Should be possible to add helpers with some basic threading, then test search on a bunch of positions to make sure it doesn't deadlock.

QS shoulden't deadlock, just becuase we only look at captures. If we looked at checks then it very well might with infinite-check sequences.