Пример #1
0
        public void shouldReturnTrueIfCommandsValidForRCommand()
        {
            RoverEngine roverEngine = new RoverEngine();

            bool isValid = roverEngine.isCommandValid('R');

            Assert.True(isValid);
        }
Пример #2
0
        public void shouldReturnFalseIfCommandsNotValid()
        {
            RoverEngine roverEngine = new RoverEngine();

            bool isValid = roverEngine.isCommandValid('P');

            Assert.False(isValid);
        }