public void FantasyTeamPitcherStatsForTheWeek() { var sut = new TeamReport( new WeekReport( _cachedGameLogRepository, _rosterMaster), _rosterMaster) { WeekStarts = Utility.WeekStart(K_CurrentWeek), //WeekStarts = Utility.WeekStart(7), FantasyTeam = "CA", Hitters = false, DoPitchers = true, OutputFile = TestHelper.FileName( "Pitchers", "CA-Pitchers", K_CurrentWeek) }; sut.DumpWeek(0); }
public void FantasyTeamHitterStatsForTheWeek() { var week = Utility.CurrentWeek(); var sut = new TeamReport( new WeekReport( _gameLogRepository, //_cachedGameLogRepository, _rosterMaster), _rosterMaster) { WeekStarts = Utility.WeekStart(week), FantasyTeam = "CA", Hitters = true }; sut.OutputFile = TestHelper.FileName( "Hitters", "CA-Hitters", week); sut.DumpWeek(0); }