예제 #1
0
        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()));
        }
예제 #2
0
        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()));
        }
예제 #3
0
        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()));
        }