public void RobotWasCreated_InputsAreCorrect() { _commander.AddInput("2"); _commander.AddInput("10 22"); _commander.AddInput("E 2"); _commander.AddInput("N 1"); Assert.IsTrue(_commander.InputsAreGiven); }
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); }