コード例 #1
0
ファイル: RobotTest.cs プロジェクト: sam14-code/Robot
 /// <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";
 }
コード例 #2
0
ファイル: RobusApiTests.cs プロジェクト: sam14-code/Robot
 /// <summary>
 /// creates a new instance of <see cref="RobusApiTests"/> Tests class.
 /// </summary>
 public RobusApiTests()
 {
     this._api = new RobusApi(this._mockWriter.Object, this._mockReader.Object);
 }