private static void GenerateYahooXml() { var m = new YahooMaster("Yahoo", "YahooOutput.xml"); m.Calculate(Utility.CurrentSeason(), Utility.CurrentWeek()); m.Dump2Xml(); }
public void TestYahooMasterCalculating() { var m = new YahooMaster("Yahoo", "YahooOutput.xml"); m.Calculate("2013", "06"); m.Dump2Xml(); Assert.IsTrue(File.Exists(m.Filename)); }
public void TestGenYahooAllPositionsCurrentWeek() { var m = new YahooMaster("Yahoo", "YahooOutput.xml"); m.Calculate("2013", Utility.CurrentWeek()); m.Dump2Xml(); Assert.IsTrue(File.Exists(m.Filename)); TestAllPositionsBeastModeCurrentWeek(); TestAllPositionsYahooCurrentWeek(); TestAllPositionsRantsCurrentWeek(); }
public void TestYahooMasterPersistence() { var m = new YahooMaster("Yahoo", "YahooOutput.xml"); var stat = new RosterLib.Models.YahooOutput { Season = "2012", Week = "01", PlayerId = "GRIFRO01", Opponent = "NO", Quantity = 30.0M }; m.PutStat(stat); m.Dump2Xml(); Assert.IsTrue(File.Exists(m.Filename), string.Format("{0} not found", m.Filename)); }