diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-10 15:34:18 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-10 15:34:18 +0200 |
| commit | f246a4ab1f855ab53801c27ebd73d5eb6bd092db (patch) | |
| tree | 152a4a4d6a57f6bfb32be0bce8d859a162eb2034 | |
| parent | 17fcc2cba9bf5fa6b52ce4eef7f96ce390c6a662 (diff) | |
improving script
| -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=( |
