示例#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());
        }
示例#2
0
        public void WalkThePathOfHappinessWithSuperBoosterActivated()
        {
            var roverSuperBooster = new RoverSuperBooster(new RoverBase());
            var position          = roverSuperBooster.Execute("RMMLMMRMRMRMM");

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