public void TestDefensivePatsyReport() { var week = Utility.CurrentNFLWeek(); var ds = new DefensiveScorer(); ds.RenderTeamToDefendAgainst( week ); Assert.IsTrue( File.Exists( ds.FileOut ), string.Format( "Cannot find {0}", ds.FileOut ) ); }
public void TestDefensiveScoringReport() { // Lists the best Fantasy defence in the last season var week = new NFLWeek( "2015", "01" ); var ds = new DefensiveScorer(); ds.RenderDefensiveScoringReport( week ); Assert.IsTrue( File.Exists( ds.FileOut ), string.Format( "Cannot find {0}", ds.FileOut ) ); }
public DefensiveReportsJob( IKeepTheTime timekeeper ) { Name = "Defensive Reports"; Report = new DefensiveScorer(); TimeKeeper = timekeeper; Logger = NLog.LogManager.GetCurrentClassLogger(); IsNflRelated = true; }