Introduce assert for stats update

Make sure updates to the stats are done in a stable way.

No functional change

Closes #1038
Closes #1037
This commit is contained in:
Joost VandeVondele
2017-03-25 17:57:07 -07:00
committed by Joona Kiiski
parent 3b7c1a17e4
commit c5de4080db
2 changed files with 14 additions and 2 deletions

View File

@@ -61,6 +61,10 @@ cat << EOF > game.exp
send "go nodes 1000\n"
expect "bestmove"
send "position fen 5rk1/1K4p1/8/8/3B4/8/8/8 b - - 0 1\n"
send "go depth 30\n"
expect "bestmove"
send "quit\n"
expect eof