Exemplo n.º 1
0
        public void TestPlayerProjectionPrediction()
        {
            var g          = new NFLGame("2013:01-A");       // YYYY:0W-X
            var prediction = g.GetPrediction("unit");

            Assert.IsNotNull(prediction);
            Assert.AreEqual(0, prediction.AwayTDr, "Away TDr should be 0");
            Assert.AreEqual(1, prediction.AwayTDp, "Away TDp should be 1");
            Assert.AreEqual(1, prediction.AwayFg, "Away FG should be 1");
        }