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