Esempio n. 1
0
        public void ApplyTwoPawnMoves()
        {
            var desk = new Desk();

            desk.ApplyMove(new FigMove(desk.FieldOfFigures[4, 1], new Position(4, 3), false));
            desk.ApplyMove(new FigMove(desk.FieldOfFigures[4, 6], new Position(4, 4), false));
            Assert.AreEqual(0, desk.FieldOfFigures[4, 3].GetPossibleMoves(desk).Count);
        }