public void Setup()
 {
     _config = ConfigMock.BuildConfig();
     _robotCache = Substitute.For<IRobotCache>();
     _robotMove = new RobotMove(_robotCache, _config);
     _testRobot = new Robot();
 }
Exemple #2
0
 public RobotTurn(IRobotCache robotCache, Config config)
 {
     _robotCache = robotCache;
     _config     = config;
 }
 public RobotPosition(IRobotCache robotCache, Config config)
 {
     _robotCache = robotCache;
     _config     = config;
 }
Exemple #4
0
 public RobotMove(IRobotCache robotCache, Config config)
 {
     _robotCache = robotCache;
     _config     = config;
 }
Exemple #5
0
 public RobotInit(IRobotCache robotcache, Config config)
 {
     _robotCache = robotcache;
     _config     = config;
 }