public void WeaponCollection_Load_SaveAsCSV_LoadCSV_ValidCsv() { outputPath = CombineToAppPath("weapons.csv"); inputPath = CombineToAppPath("weapons.csv"); Assert.IsTrue(weaponcollection.SaveAsCSV(outputPath)); Assert.IsTrue(weaponcollection.LoadCSV(inputPath)); }
public void WeaponCollection_Load_SaveAsCSV_LoadCSV_ValidCsv() { // - Load the data2.csv and SaveAsCSV() it to weapons.csv // and LoadCsv() output and validate that there’s 95 entries inputPath = CombineToAppPath("weapons.csv"); outputPath = CombineToAppPath("weapons.csv"); Assert.IsTrue(weaponCollection.SaveAsCSV(outputPath)); Assert.IsTrue(weaponCollection.LoadCSV(inputPath)); }
public void WeaponCollection_Load_SaveAsCSV_LoadCSV_ValidCsv() { Assert.IsTrue(weaponCollection.SaveAsCSV(outputPathCSV)); Assert.IsTrue(weaponCollection.LoadCSV(outputPathCSV)); Assert.AreEqual(weaponCollection.Count, 95); }