public void WeaponCollection_LoadThatExistAndValid_True() { // TODO: load returns true, expect WeaponCollection with count of 95 . weaponcollection.Clear(); Assert.IsTrue(weaponcollection.Load(inputPath)); Assert.AreEqual(weaponcollection.Count, 95); }
public void WeaponCollection_SaveEmpty_TrueAndEmpty() { // After saving an empty WeaponCollection, load the file and expect WeaponCollection to be empty. weaponCollection.Clear(); Assert.IsTrue(weaponCollection.Save(outputPath)); Assert.IsTrue(weaponCollection.Load(outputPath)); Assert.IsTrue(weaponCollection.Count == 0); }