Ejemplo n.º 1
0
        public void MoveTwiceUsingRoverSuperBoosterAndRoverBooster()
        {
            var roverSuperBooster = new RoverSuperBooster(new RoverBooster(new RoverBase()));
            var position          = roverSuperBooster.Execute("M");

            Assert.Equal("0:6:N", position.ToString());
        }
Ejemplo n.º 2
0
        public void WalkThePathOfHappinessWithSuperBoosterActivated()
        {
            var roverSuperBooster = new RoverSuperBooster(new RoverBase());
            var position          = roverSuperBooster.Execute("RMMLMMRMRMRMM");

            Assert.Equal("3:3:W", position.ToString());
        }