Пример #1
0
 public void WeaponCollection_Load_SaveAsJSON_LoadJSON_ValidJson()
 {
     outputPath = CombineToAppPath("weapons.json");
     inputPath  = CombineToAppPath("weapons.json");
     Assert.IsTrue(weaponcollection.SaveAsJson(outputPath));
     Assert.IsTrue(weaponcollection.LoadJson(inputPath));
     Assert.IsTrue(weaponcollection.Count() == 95);
 }