public CatmashImageControllerTest() { this.repository = new CatmashRepository(context); this.pairGenerator = new PatternedPairGenerator(); this.pairNumTracker = new PairNumberTracker(); this.eloRatingCalculator = new EloRatingCalculator(); this.constants = new Constants(); }
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; }