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