Ejemplo n.º 1
0
 public void WeaponCollection_Load_SaveAsXML_LoadXML_ValidXml(int expectedValue)
 {
     outputPath = CombineToAppPath(OUTPUT_FILE_XML);
     WeaponCollection.SaveAsXML(outputPath);
     Assert.IsTrue(WeaponCollection.LoadXML(outputPath));
     Assert.AreEqual(expectedValue, WeaponCollection.Count());
 }