Example #1
0
        public void RobotCommands_InputsAreCorrect()
        {
            _commander.AddInput("2");
            _commander.AddInput("10 22");
            _commander.AddInput("E 2");
            _commander.AddInput("N 1");

            Assert.IsNotNull(_commander.GetTheCommands());
        }
Example #2
0
        public void RobotWasCreated()
        {
            _commander.AddInput("2");
            _commander.AddInput("10 22");
            _commander.AddInput("E 2");
            _commander.AddInput("N 1");

            _robot = new RobotCleaner.Robot(_commander.GetTheCommands());

            Assert.IsNotNull(_robot);
        }