Ejemplo n.º 1
0
        public void ValidateAgainstBordes_EarthMode_Test(int fromX, int fromY, int afterX, int afterY)
        {
            BoardSetUp board           = Get10x10Board(BoardModes.EarthMode);
            Point      calculatedPoint = board.ValidateAgainstBordes(new Point(fromX, fromY));

            Assert.AreEqual(afterX, calculatedPoint.X);
            Assert.AreEqual(afterY, calculatedPoint.Y);
        }
Ejemplo n.º 2
0
 public void ValidateAgainstBordes_DeadlyMoat_Outside_Test(int fromX, int fromY, int afterX, int afterY)
 {
     BoardSetUp board           = Get10x10Board(BoardModes.DeadlyMoat);
     Point      calculatedPoint = board.ValidateAgainstBordes(new Point(fromX, fromY));
 }