Beispiel #1
0
 public void WeaponCollection_Load_SaveAsJSON_LoadJSON_ValidJson(int expectedValue)
 {
     outputPath = CombineToAppPath(OUTPUT_FILE_JSON);
     WeaponCollection.SaveAsJSON(outputPath);
     Assert.IsTrue(WeaponCollection.LoadJSON(outputPath));
     Assert.AreEqual(expectedValue, WeaponCollection.Count());
 }