Пример #1
0
            public void TestBishop(string coordinate, string endCoordinate, bool result)
            {
                // moves don't depend to color so it doesn't matter
                Coordinate endCoordinateC = new Coordinate(endCoordinate);
                Bishop     bishop         = new Bishop(coordinate, true);

                Assert.AreEqual(bishop.CheckMove(endCoordinateC), result);
            }