public void TestInitialize() { Log.Logger = new LoggerConfiguration() .MinimumLevel.Verbose() .WriteTo.Console() .Enrich.FromLogContext() .CreateLogger(); _itemInfos = AlliedModsWiki.GetItemInfos(); var itemInfoSource = new ItemInfoSource(_itemInfos); var classNameSource = new ClassNameSource(); _transformations = new Dictionary <string, ITransformation <Node> > { { "tf2rebalance_attributes", new Tf2RebalanceTransformation(itemInfoSource, classNameSource) }, { "Custom Attributes", new CustomAttributesTransformation(itemInfoSource, classNameSource) }, }; }
public void TestInitialize() { Log.Logger = new LoggerConfiguration() .MinimumLevel.Verbose() .WriteTo.Console() .Enrich.FromLogContext() .CreateLogger(); _itemInfos = AlliedModsWiki.GetItemInfos(); }
public void AtLeast1968Items() { IDictionary <string, List <ItemInfo> > infos = AlliedModsWiki.GetItemInfos(); Assert.IsTrue(infos.Count >= 1968); }