Exemplo n.º 1
0
        public void MoveOneWorks(int startX, int startY, eDirection direction, int endX, int endY)
        {
            var originalPoint      = new XYPoint(startX, startY);
            var expectedFinalPoint = new XYPoint(endX, endY);

            Assert.AreEqual(expectedFinalPoint, originalPoint.MoveOne(direction));
        }