From 64c945e06622d1843b0f8deb1029df1d4e5c32ee Mon Sep 17 00:00:00 2001 From: Jonathan Gamble Date: Tue, 5 Nov 2024 19:59:26 -0600 Subject: [PATCH] fix history test --- test-kit/src/test/scala/HistoryTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-kit/src/test/scala/HistoryTest.scala b/test-kit/src/test/scala/HistoryTest.scala index 2713c224..d3092244 100644 --- a/test-kit/src/test/scala/HistoryTest.scala +++ b/test-kit/src/test/scala/HistoryTest.scala @@ -2,7 +2,7 @@ package chess class ThreefoldRepetitionTest extends ChessTest: - def toHash(a: Int) = PositionHash(Hash(a)) + def toHash(a: Int) = PositionHash(Hash(a << 8)) def makeHistory(positions: List[Int]) = (positions .map(toHash))