public OfficeAreaTestCase()
 {
     office = new OfficeArea();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RobotHoover"/> class.
 /// </summary>
 /// <param name="office">The office.</param>
 /// <param name="commandParser">The command parser.</param>
 public RobotHoover(IOfficeArea office, ICommandParser commandParser)
 {
     this.office        = office;
     this.commandParser = commandParser;
     Position           = new Coordinate();
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CleanProgram" /> class.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="office">The office.</param>
 /// <param name="robot">The robot.</param>
 public CleanProgram(IDataSource source, IOfficeArea office, IRobotHoover robot)
 {
     this.source = source;
     this.office = office;
     this.robot  = robot;
 }