diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/tests/hash.bash (renamed from scripts/tests/zobrist.bash) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/tests/zobrist.bash b/scripts/tests/hash.bash index bcfc437..92be2e6 100755 --- a/scripts/tests/zobrist.bash +++ b/scripts/tests/hash.bash @@ -10,16 +10,16 @@ testZobrist() { echo "" - resultRaw=$(./build/mono zobrist "$fen" $moves) + resultRaw=$(./build/mono hash "$fen" $moves) result=$(echo $resultRaw | jq -r '.hash') took=$(echo $resultRaw | jq -r '.ms') if [ "$result" = "$expected" ]; then - echo "PASS: $name, Took: $took" + echo "OK: $name, Took: $took" else - echo "FAIL: $name" - echo " Expected: $expected" - echo " Got: $result" - echo " Raw: $resultRaw" + echo "WRONG: $name" + echo "Expected: $expected" + echo "Got: $result" + echo "Raw: $resultRaw" status=1 fi } |
