diff options
Diffstat (limited to 'perft.bash')
| -rwxr-xr-x | perft.bash | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -5,16 +5,19 @@ testPerft() { local depth="$2" local expected="$3" + echo "" + result=$(./build/mono "perft" $depth "$fen") count=$(echo $result | jq -r '.result') if [ "$count" = "$expected" ]; then echo "Results match" else - echo "Results dont match" + echo "RESULTS DONT MATCH" + echo "Depth: $depth" + echo "Fen: $fen" echo "Expected: $expected" echo "Got: $count" fi - echo "-------------------" } configs=( |
