public void EvaluateComplexGame() { var board = EngineTests.GenerateComplexGame(); var evaluation = BoardEvaluator.Evaluate(board); this.TestContext.WriteLine("Evaluation = " + evaluation.ToString(CultureInfo.CurrentCulture)); Assert.IsTrue(evaluation < 0); // -3 }
public void EvaluateWeakPosition() { var board = EngineTests.GenerateGameWithPlayerAboutToLose(); var evaluation = BoardEvaluator.Evaluate(board); this.TestContext.WriteLine("Evaluation = " + evaluation.ToString(CultureInfo.CurrentCulture)); Assert.IsTrue(evaluation < 0); // -116 }