Пример #1
0
        public void When_Rover_At_3_2_East_And_Move_Should_Be_4_2()
        {
            var direction      = new East();
            var newCoordinates = direction.MoveForward(new Coordinates(3, 2));

            Assert.That(newCoordinates.XCoordinate, Is.EqualTo(4));
            Assert.That(newCoordinates.YCoordinate, Is.EqualTo(2));
        }