private void Clean() { output = new TestWriter(); office = new Office(); robot = new Robot(office, new List <ICommand> () { new PositionCommand("10 22"), new MoveCommand("N 2"), new MoveCommand("E 1") }, output); robot.Clean(); robot.PrintReport(); }
public void SetUp() { console = new TestWriter(); }