@@ 42,9 42,6 @@ var computeHashTests = []struct {
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 @@ var changeHashTests = []struct {
return hash
}, true},
- {"switching sides twice -> same hash",
+ {"switching sides twice",
func(hash zobristHash) zobristHash {
hash.switchSides()
hash.switchSides()