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

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