public CatmashImageControllerTest()
 {
     this.repository          = new CatmashRepository(context);
     this.pairGenerator       = new PatternedPairGenerator();
     this.pairNumTracker      = new PairNumberTracker();
     this.eloRatingCalculator = new EloRatingCalculator();
     this.constants           = new Constants();
 }
Ejemplo n.º 2
0
 public CatmashImageController(ICatmashRepository repository,
                               IPairGeneratorStrategy pairGenerator,
                               PairNumberTracker pairNumTracker,
                               EloRatingCalculator eloRatingCalculator,
                               Constants constants)
 {
     this.repository          = repository;
     this.pairGenerator       = pairGenerator;
     this.pairNumTracker      = pairNumTracker;
     this.eloRatingCalculator = eloRatingCalculator;
     this.constants           = constants;
 }