# HG changeset patch # User telesto # Date 1423081148 -3600 # Wed Feb 04 21:19:08 2015 +0100 # Node ID 2b1fb06cd417f80a79668b56e702dd6676984ca7 # Parent 1acf271ce4e5cf6398ded6bfe80facdae2c95c89 small changes diff --git a/search/zobrist_test.go b/search/zobrist_test.go --- a/search/zobrist_test.go +++ b/search/zobrist_test.go @@ -42,9 +42,6 @@ hash1, hash2 func() zobristHash expectEqualHash bool }{ - // - // test computeHash() - // {"same position, white to move", func() zobristHash { return computeHash(pos.NewPosition(pos.White, b.NoSquare, pos.CastlingBoth, pos.CastlingBoth, 0)) @@ -181,7 +178,7 @@ return hash }, true}, - {"switching sides twice -> same hash", + {"switching sides twice", func(hash zobristHash) zobristHash { hash.switchSides() hash.switchSides()