Example #1
0
        public void GetNewPosition__NewPositionFrom(IMove move, IPosition startPosition, IPosition expectedPosition)
        {
            var newPosition = move.GetNewPosition(startPosition);

            Assert.AreEqual(expectedPosition.Y, newPosition.Y);
            Assert.AreEqual(expectedPosition.X, newPosition.X);
        }