From f246a4ab1f855ab53801c27ebd73d5eb6bd092db Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 10 Aug 2026 15:34:18 +0200 Subject: improving script --- perft.bash | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/perft.bash b/perft.bash index 4b085fe..74e1250 100755 --- a/perft.bash +++ b/perft.bash @@ -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=( -- cgit v1.2.3