Exemplo n.º 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;
 }
Exemplo n.º 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));
 }