Example #1
0
        public WayHostileControllerTests()
        {
            _freePointToGoResolver          = Mock.Create <IFreePointToGoResolver>();
            _waitObstacleController         = Mock.Create <IWaitObstacleController>();
            _baseActionController           = Mock.Create <IBaseActionController>();
            _wayHostileControllerParameters = Mock.Create <IWayHostileControllerParameters>();

            _wayHostileController = new WayHostileController(_freePointToGoResolver, _baseActionController, _waitObstacleController);
        }
Example #2
0
        public FreePointToGoResolverTests()
        {
            _pathFinderController   = Mock.Create <IPathFinderController>();
            _adjacentPointsResolver = Mock.Create <IAdjacentPointsResolver>();
            _freePossitionsMap      = Mock.Create <IFreePossitionsMap>();
            _parameters             = Mock.Create <IWayHostileControllerParameters>();

            _freePointToGoResolver = new FreePointToGoResolver(
                _parameters,
                _adjacentPointsResolver,
                _pathFinderController,
                _freePossitionsMap);
        }