private static void StatGridFor(string season, string statType) { var sg = new StatGrid(season, statType); sg.Render(); Assert.IsTrue(File.Exists(sg.FileName()), string.Format("Cannot find {0}", sg.FileName())); }
public void TestStatsGridForTDpassesAllowed() { const string season = "2012"; var sg = new StatGrid(season, "TDpAllowed"); sg.Render(); Assert.IsTrue(File.Exists(sg.FileName()), string.Format("Cannot find {0}", sg.FileName())); }
public void TestStatsGridForIntsThrown() { const string season = "2012"; var sg = new StatGrid(season, "INTsThrown"); sg.Render(); Assert.IsTrue(File.Exists(sg.FileName()), string.Format("Cannot find {0}", sg.FileName())); }