public ProNet(IRankService rankService, ISkillsService skillsService, ISeparationService separationService, IRecommendationService recommendationService, ITeamStrengthService teamStrengthService, IStrongestTeamService strongestTeamService)
 {
     _rankService           = rankService;
     _skillsService         = skillsService;
     _separationService     = separationService;
     _recommendationService = recommendationService;
     _teamStrengthService   = teamStrengthService;
     _strongestTeamService  = strongestTeamService;
 }
Пример #2
0
        public void SetUp()
        {
            _separationService = Substitute.For <ISeparationService>();
            _skillsService     = Substitute.For <ISkillsService>();
            _rankService       = Substitute.For <IRankService>();

            _teamStrengthService = new TeamStrengthService(_separationService, _skillsService, _rankService);

            _skill = "";
            _team  = new List <string> {
                "leader", "a", "b"
            };
        }
 public StrongestTeamService(INetworkRepository networkRepository, ITeamStrengthService teamStrengthService, IPermutationService permutationService)
 {
     _networkRepository   = networkRepository;
     _teamStrengthService = teamStrengthService;
     _permutationService  = permutationService;
 }