Ejemplo n.º 1
0
            public void TestKing(string coordinate, string endCoordinate, bool result)
            {
                // moves don't depend to color so it doesn't matter
                Coordinate endCoordinateC = new Coordinate(endCoordinate);
                King       king           = new King(coordinate, true);

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