예제 #1
0
 public void TestActualOutput()
 {
     var sut = new ScoreTally("2014", "Actuals", usingPredictions: false);
      sut.ForceRefresh = false;
      sut.Render();
      var fileOut = sut.FileName();
      Assert.IsTrue(File.Exists(fileOut), string.Format("Cannot find {0}", fileOut));
 }
 public OutputProjectionsJob(IHistorian historian)
 {
     Name = "Team Output Projections";
      Report = new ScoreTally();
      Historian = historian;
      Logger = NLog.LogManager.GetCurrentClassLogger();
      IsNflRelated = true;
 }
예제 #3
0
 public void TestPredictedOutput()
 {
     var sut = new ScoreTally("2015", "All Teams", true);
      sut.Render();
      var fileOut = sut.FileName();
      Assert.IsTrue(File.Exists(fileOut), string.Format("Cannot find {0}", fileOut));
 }