Beispiel #1
0
 /// <summary>
 /// creates a new instance of <see cref="RobotTest"/> class
 /// </summary>
 public RobotTest()
 {
     this._writer          = new InstructionsWriter <RobotAction>();
     this._reader          = new InstructionsReader <RobotAction>();
     this._api             = new RobusApi(this._writer, this._reader);
     this._writer.FileName = this._reader.FileName = @"C:\Test\RobotInstructions.json";
 }
Beispiel #2
0
 /// <summary>
 /// creates a new instance of <see cref="RobusApiTests"/> Tests class.
 /// </summary>
 public RobusApiTests()
 {
     this._api = new RobusApi(this._mockWriter.Object, this._mockReader.Object);
 }