예제 #1
0
            public void TestQueen(string coordinate, string endCoordinate, bool result)
            {
                // moves don't depend to color so it doesn't matter
                Coordinate endCoordinateC = new Coordinate(endCoordinate);
                Queen      queen          = new Queen(coordinate, true);

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