コード例 #1
0
 public RockPaperScissors(IRandomInterface randomService,
                          IGameWinnerCalculationInterface gameWinnerCalculationService,
                          ITournamentWinnerCalculationInterface tournamentWinnerCalculationService
                          )
 {
     _randomService = randomService;
     _gameWinnerCalculationService       = gameWinnerCalculationService;
     _tournamentWinnerCalculationService = tournamentWinnerCalculationService;
 }
コード例 #2
0
 public GameWinnerCalculationTest()
 {
     gameWinner = new GameWinnerCalculation();
 }