public void ReplaceLibraryNPCsTest() { Module target = new Module(_libraryMod); XElement xmlNPC = NewNPCXml(); target.LoadLibraryNPCs(); target.ReplaceLibraryNPCs(xmlNPC.Elements()); Assert.AreEqual(10, target.NPCList.Count, "Trouble reading NPCs from Sample"); }
public void ModuleConstructorTest() { Module target = new Module(_libraryMod); target.LoadLibraryNPCs(); Assert.AreEqual(8, target.NPCList.Count, "Trouble reading NPCs from Sample"); }