From 2cd149ee04a254043bba1cf5ce7e0637f5ba7f59 Mon Sep 17 00:00:00 2001 From: znxftw Date: Wed, 18 Dec 2024 10:58:16 +0530 Subject: [PATCH] reset for benchmark --- Rudim/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Rudim/Program.cs b/Rudim/Program.cs index 606721c..0590e26 100644 --- a/Rudim/Program.cs +++ b/Rudim/Program.cs @@ -80,6 +80,7 @@ public class Benchmark [ArgumentsSource(nameof(GenerateBenchmarks))] public void BenchmarkBestMove(BoardState boardState, int depth, CancellationToken cancellationToken) { + Global.Reset(); bool debugMode = false; boardState.FindBestMove(depth, cancellationToken, ref debugMode); }