Ejemplo n.º 1
0
        public void TestToUciNotation(string from, string to, PieceType promotionResult, string expectedResult)
        {
            var move         = new GameMove(Square.FromAlgebraic(from), Square.FromAlgebraic(to), promotionResult);
            var actualResult = move.ToUciNotation();

            Assert.That(actualResult, Is.EqualTo(expectedResult));
        }